ethernet tulip misdetected starting 2.5.20
2.5.19 works while 2.5.20 has mostly correct lspci output (PME- instead of PME+) but the wrong driver gets detected and fails loading.
Similar to 3c509 vs 3c590 from Anton.
Anyone have any ideas in troubleshooting this?
Config:CONFIG_NET_TULIP=y
# CONFIG_DE2104X is not setCONFIG_TULIP=m
# CONFIG_TULIP_MWI is not set
# CONFIG_TULIP_MMIO is not set
# CONFIG_DE4X5 is not set
linux-2.5.19
dmesg
Linux Tulip driver version 1.1.13 (May 11, 2002)
PCI: Found IRQ 11 for device 00:0b.0
eth0: ADMtek Comet rev 17 at 0xe800, 00:03:6D:16:4E:39, IRQ 11.
lspci -vv
00:0b.0 Ethernet controller: Bridgecom, Inc: Unknown device 0985 (rev 11)
Subsystem: Bridgecom, Inc: Unknown device 0574
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 255 min, 255 max, 32 set, cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at e800 [size=256]
Region 1: Memory at e3001000 (32-bit, non-prefetchable) [size=1K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME+
Status: D0 PME-Enable- DSel=0 DScale=0 PME+
------------------
linux-2.5.20
dmesg
Linux Tulip driver version 1.1.13 (May 11, 2002)
PCI: Found IRQ 11 for device 00:0b.0
tulip0: MII transceiver #1 config 1000 status 786d advertising 01e1.
eth0: Digital DS21140 Tulip rev 17 at 0xe800, EEPROM not present, 00:4C:69:6E:75:79, IRQ 11.
lspci -vv
00:0b.0 Ethernet controller: Bridgecom, Inc: Unknown device 0985 (rev 11)
Subsystem: Bridgecom, Inc: Unknown device 0574
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 255 min, 255 max, 32 set, cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at e800 [size=256]
Region 1: Memory at e3001000 (32-bit, non-prefetchable) [size=1K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME+
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Signature · 2 lines
Albert Cranford Deerfield Beach FL USA [email protected]
Andrew fix it: ethernet tulip misdetected starting 2.5.20
Andrew Morton already fixed it in pci device matching fix Thanks,
Albert
http://marc.theaimsgroup.com/?l=linux-kernel&m=102315156003503&w=2
Quoted 58 lines · Albert Cranford
2.5.19 works while 2.5.20 has mostly correct lspci output (PME- instead of PME+) but the wrong driver gets detected and fails loading.
Similar to 3c509 vs 3c590 from Anton.
Anyone have any ideas in troubleshooting this?
Config:CONFIG_NET_TULIP=y
#CONFIG_DE2104Xis not setCONFIG_TULIP=m
#CONFIG_TULIP_MWIis not set
#CONFIG_TULIP_MMIOis not set
#CONFIG_DE4X5is not setlinux-2.5.19dmesg
Linux Tulip driver version 1.1.13 (May 11, 2002)
PCI: Found IRQ 11 for device 00:0b.0
eth0: ADMtek Comet rev 17 at0xe800, 00:03:6D:16:4E:39, IRQ 11.lspci -vv
00:0b.0 Ethernet controller: Bridgecom, Inc: Unknown device 0985 (rev 11)
Subsystem: Bridgecom, Inc: Unknown device 0574
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 255 min, 255 max, 32 set, cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at e800 [size=256]
Region 1: Memory ate3001000(32-bit, non-prefetchable) [size=1K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME+
Status: D0 PME-Enable- DSel=0 DScale=0 PME+------------------
linux-2.5.20dmesg
Linux Tulip driver version 1.1.13 (May 11, 2002)
PCI: Found IRQ 11 for device 00:0b.0
tulip0: MII transceiver #1 config 1000 status 786d advertising 01e1.
eth0: Digital DS21140 Tulip rev 17 at0xe800, EEPROM not present, 00:4C:69:6E:75:79, IRQ 11.lspci -vv
00:0b.0 Ethernet controller: Bridgecom, Inc: Unknown device 0985 (rev 11)
Subsystem: Bridgecom, Inc: Unknown device 0574
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 255 min, 255 max, 32 set, cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at e800 [size=256]
Region 1: Memory ate3001000(32-bit, non-prefetchable) [size=1K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME+
Status: D0 PME-Enable- DSel=0 DScale=0 PME---
Albert Cranford Deerfield Beach FL USA
[email protected]
Signature · 2 lines
Albert Cranford Deerfield Beach FL USA [email protected]