Subject: wm(4) driver failes to attach to i82542 1000BASE-X
To: None <tech-kern@netbsd.org>
From: Dheeraj Reddy <dheerajr@gmail.com>
List: tech-kern
Date: 10/05/2005 18:13:36
Hello all
I have an Intel gigabit card that i plugged int that doesn't seem
to attach at all.
It is a PCI-X card plugged into a PCI slot.
I am willing to dig a bit into the code too if someone can point to a
little more detail.
The relevant piece of dmesg is
wm0 at pci1 dev 10 function 0: Intel i82542 1000BASE-X Ethernet, rev. 3
wm0: unable to wake from power state D3
I can put the actual dmesg also if it helps.
saras# pcictl pci1 list
001:08:0: 3Com 3c905-TX 10/100 Ethernet (ethernet network)
001:09:0: Adaptec AHA-2940 Ultra (SCSI mass storage)
001:10:0: Intel i82542 Gigabit Ethernet (ethernet network, revision 0x03)
001:11:0: Intel 82557 Fast Ethernet LAN Controller (ethernet network, revis=
ion )
saras#pcictl pci dump -d 10
PCI configuration registers:
Common header:
0x00: 0x10008086 0x8a100116 0x02000003 0x00002008
Vendor Name: Intel (0x8086)
Device Name: i82542 Gigabit Ethernet (0x1000)
Command register: 0x0116
I/O space accesses: off
Memory space accesses: on
Bus mastering: on
Special cycles: off
MWI transactions: on
Palette snooping: off
Parity error checking: off
Address/data stepping: off
System error (SERR): on
Fast back-to-back transactions: off
Status register: 0x8a10
Capability List support: on
66 MHz capable: off
User Definable Features (UDF) support: off
Fast back-to-back capable: off
Data parity error detected: off
DEVSEL timing: medium (0x1)
Slave signaled Target Abort: on
Master received Target Abort: off
Master received Master Abort: off
Asserted System Error (SERR): off
Parity error detected: on
Class Name: network (0x02)
Subclass Name: ethernet (0x00)
Interface: 0x00
Revision ID: 0x03
BIST: 0x00
Header Type: 0x00 (0x00)
Latency Timer: 0x20
Cache Line Size: 0x08
Type 0 ("normal" device) header:
0x10: 0xfcfc0000 0x00000000 0x00000000 0x00000000
0x20: 0x00000000 0x00000000 0x00000000 0x10008086
0x30: 0x00000000 0x000000dc 0x00000000 0x00fe0100
Base address register at 0x10
type: 32-bit nonprefetchable memory
base: 0xfcfc0000, not sized
Base address register at 0x14
not implemented(?)
Base address register at 0x18
not implemented(?)
Base address register at 0x1c
not implemented(?)
Base address register at 0x20
not implemented(?)
Base address register at 0x24
not implemented(?)
Cardbus CIS Pointer: 0x00000000
Subsystem vendor ID: 0x8086
Subsystem ID: 0x1000
Expansion ROM Base Address: 0x00000000
Capability list pointer: 0xdc
Reserved @ 0x38: 0x00000000
Maximum Latency: 0x00
Minimum Grant: 0xfe
Interrupt pin: 0x01 (pin A)
Interrupt line: 0x00
Capability register at 0xdc
type: 0x01 (Power Management, rev. 1.0)
Device-dependent header:
0x40: 0xffffffff 0x00000000 0x00000000 0x00000000
0x50: 0x00000000 0x00000000 0x00000000 0x00000000
0x60: 0x00000000 0x00000000 0x00000000 0x00000000
0x70: 0x00000000 0x00000000 0x00000000 0x00000000
0x80: 0x00000000 0x00000000 0x00000000 0x00000000
0x90: 0x00000000 0x00000000 0x00000000 0x00000000
0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
0xd0: 0x00000000 0x00000000 0x00000000 0x00200001
0xe0: 0xffffffff 0x00000000 0x00000000 0x00000000
0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
--
dheeraj