Patch to add EEPROM dump

Jack Vogel jfvogel at gmail.com
Tue Oct 9 16:03:19 PDT 2007


Mike,

      This is a patch against my 6.6.6 driver that adds a new value to the
debug sysctl, you would give the command 'sysctl dev.em.0.debug=2'
and it will dump out the first 32 16-bit words of the prom.

Mike, go to e1000.sourceforge.net/wiki and look under issues, you
will find one talking about 82573, that will show you the word that
gets patched, and you can look at your own with this patch.

I was wondering what the general reaction to this is, it may be useful
at some points in helping debug things.

Comments?

Jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eeprom-dump.patch
Type: application/octet-stream
Size: 2119 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071009/448721d6/eeprom-dump.obj


More information about the freebsd-current mailing list