At 07:03 PM 10/9/2007, Jack Vogel wrote:
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.

Hi,
Yes, I think this would be helpful indeed. I tried it on a few boxes at HQ

Interface EEPROM Dump:
Offset
0x0000  3000 8f48 8b3e 0d20 f746 0057 ffff ffff
0x0010  ffff ffff 026b 109a 15d9 109a 8086 80df
0x0020  0000 2000 7e54 0000 1000 00da 0004 2700
0x0030  6cc9 3150 0732 040b 2984 0000 c000 0706

Interface EEPROM Dump:
Offset
0x0000  3000 8f48 8a3e 0d30 f746 00f4 ffff ffff
0x0010  ffff ffff 026b 108c 15d9 108c 8086 83df
0x0020  0008 2000 7e14 0048 1000 00d8 0000 2700
0x0030  6cc9 3150 0722 040b 0984 0000 c000 0706

[EMAIL PROTECTED]:0:0: class=0x020000 card=0x108c15d9 chip=0x108c8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'PRO/1000 PM'
    class      = network
    subclass   = ethernet
    cap 01[c8] = powerspec 2  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit
    cap 10[e0] = PCI-Express 1 endpoint
[EMAIL PROTECTED]:0:0: class=0x020000 card=0x109a15d9 chip=0x109a8086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = network
    subclass   = ethernet
    cap 01[c8] = powerspec 2  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit
    cap 10[e0] = PCI-Express 1 endpoint


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


Yes, if anything to better identify a NIC and rev. Thanks for the addition!

        ---Mike

Comments?

Jack

Content-Type: application/octet-stream; name=eeprom-dump.patch
X-Attachment-Id: f_f7l0m8f3
Content-Disposition: attachment; filename=eeprom-dump.patch

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to