Re: [PATCH]: Fix disappearing PCI devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Ok, new patch to go on top of the previous fixes.
> 
> It's the same issue as was present in the of_device.c code.
> 
> I hope your PCI QFE cards will show up now :-)

Yes, they do. Now everything I know to test from the current hardware 
configuration seems to be working, great! Will change it to be a more 
diverse config for routine testing on future Linux builds.

By the way, there seems to be a EBUS bridge together with each PCI HME - 
what are these useful for?

Thank you very much for your work on this!

[  133.345997] eth0: Quattro HME slot 0 (SBUS) 10/100baseT Ethernet 08:00:20:9d:77:08
[  133.437738] eth1: Quattro HME slot 1 (SBUS) 10/100baseT Ethernet 08:00:20:9d:77:09
[  133.529438] eth2: Quattro HME slot 2 (SBUS) 10/100baseT Ethernet 08:00:20:9d:77:0a
[  133.621286] eth3: Quattro HME slot 3 (SBUS) 10/100baseT Ethernet 08:00:20:9d:77:0b
[  133.713161] eth4: HAPPY MEAL (SBUS) 10/100baseT Ethernet 08:00:20:b6:ee:e2
[  133.797039] eth5: Quattro HME slot 0 (SBUS) 10/100baseT Ethernet 08:00:20:93:79:94
[  133.889328] eth6: Quattro HME slot 1 (SBUS) 10/100baseT Ethernet 08:00:20:93:79:95
[  133.981753] eth7: Quattro HME slot 2 (SBUS) 10/100baseT Ethernet 08:00:20:93:79:96
[  134.074381] eth8: Quattro HME slot 3 (SBUS) 10/100baseT Ethernet 08:00:20:93:79:97
[  134.167835] eth9-12: Quattro HME (PCI/CheerIO) 10/100baseT Ethernet DEC 21153 PCI Bridge
[  134.262734] eth9: Quattro HME slot 0 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:f6:fd:dc
[  134.365130] eth10: Quattro HME slot 1 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:f6:fd:dd
[  134.466726] eth11: Quattro HME slot 2 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:f6:fd:de
[  134.568457] eth12: Quattro HME slot 3 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:f6:fd:df
[  134.670080] eth13: HAPPY MEAL (PCI/CheerIO) 10/100BaseT Ethernet 08:00:20:b6:ee:e2

and lspci -vvv:

0000:00:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 27
	Region 0: Memory at 01000000 (32-bit, non-prefetchable) [disabled] [size=16M]
	Region 1: Memory at 02000000 (32-bit, non-prefetchable) [disabled] [size=8M]
	Region 2: [virtual] Memory at fffffe2a80000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 3: [virtual] Memory at fffffe2a80000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 4: [virtual] Memory at fffffe2a80000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 5: [virtual] Memory at fffffe2a80000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Expansion ROM at fffffe2a80000000 [disabled] [size=1]

0000:00:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal 10/100 Ethernet [hme] (rev 01)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 255 (2500ns min, 1250ns max)
	Interrupt: pin B routed to IRQ 28
	Region 0: Memory at 02800000 (32-bit, non-prefetchable) [size=28K]
	Region 1: [virtual] Memory at fffffe2a80000000 (32-bit, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at fffffe2a80000000 (32-bit, non-prefetchable) [size=1]
	Region 3: [virtual] Memory at fffffe2a80000000 (32-bit, non-prefetchable) [size=1]
	Region 4: [virtual] Memory at fffffe2a80000000 (32-bit, non-prefetchable) [size=1]
	Region 5: [virtual] Memory at fffffe2a80000000 (32-bit, non-prefetchable) [size=1]
	Expansion ROM at fffffe2a80000000 [disabled] [size=1]
	Kernel driver in use: hme

0001:80:02.0 PCI bridge: Digital Equipment Corporation DECchip 21153 (rev 04)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 1: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Bus: primary=80, secondary=81, subordinate=81, sec-latency=0
	I/O behind bridge: 00001000-00000fff
	Memory behind bridge: 00100000-088fffff
	Prefetchable memory behind bridge: fffffffffff00000-00000000000fffff
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	[virtual] Expansion ROM at fffffe2b00000000 [disabled] [size=1]
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=220mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
		Bridge: PM- B3+

0001:81:00.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 30
	Region 0: Memory at 01000000 (32-bit, non-prefetchable) [disabled] [size=16M]
	Region 1: Memory at 02000000 (32-bit, non-prefetchable) [disabled] [size=8M]
	Region 2: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 3: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 4: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 5: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Expansion ROM at fffffe2b00000000 [disabled] [size=1]

0001:81:00.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal 10/100 Ethernet [hme] (rev 01)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (2500ns min, 1250ns max)
	Interrupt: pin B routed to IRQ 31
	Region 0: Memory at 02800000 (32-bit, non-prefetchable) [size=28K]
	Region 1: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 3: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 4: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 5: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Expansion ROM at fffffe2b00000000 [disabled] [size=1]
	Kernel driver in use: hme

0001:81:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 31
	Region 0: Memory at 03000000 (32-bit, non-prefetchable) [disabled] [size=16M]
	Region 1: Memory at 04000000 (32-bit, non-prefetchable) [disabled] [size=8M]
	Region 2: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 3: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 4: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 5: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Expansion ROM at fffffe2b00000000 [disabled] [size=1]

0001:81:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal 10/100 Ethernet [hme] (rev 01)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (2500ns min, 1250ns max)
	Interrupt: pin B routed to IRQ 32
	Region 0: Memory at 04800000 (32-bit, non-prefetchable) [size=28K]
	Region 1: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 3: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 4: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 5: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Expansion ROM at fffffe2b00000000 [disabled] [size=1]
	Kernel driver in use: hme

0001:81:02.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 32
	Region 0: Memory at 05000000 (32-bit, non-prefetchable) [disabled] [size=16M]
	Region 1: Memory at 06000000 (32-bit, non-prefetchable) [disabled] [size=8M]
	Region 2: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 3: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 4: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 5: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Expansion ROM at fffffe2b00000000 [disabled] [size=1]

0001:81:02.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal 10/100 Ethernet [hme] (rev 01)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (2500ns min, 1250ns max)
	Interrupt: pin B routed to IRQ 33
	Region 0: Memory at 06800000 (32-bit, non-prefetchable) [size=28K]
	Region 1: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 3: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 4: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 5: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Expansion ROM at fffffe2b00000000 [disabled] [size=1]
	Kernel driver in use: hme

0001:81:03.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 33
	Region 0: Memory at 07000000 (32-bit, non-prefetchable) [disabled] [size=16M]
	Region 1: Memory at 08000000 (32-bit, non-prefetchable) [disabled] [size=8M]
	Region 2: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 3: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 4: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Region 5: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [disabled] [size=1]
	Expansion ROM at fffffe2b00000000 [disabled] [size=1]

0001:81:03.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal 10/100 Ethernet [hme] (rev 01)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (2500ns min, 1250ns max)
	Interrupt: pin B routed to IRQ 30
	Region 0: Memory at 08800000 (32-bit, non-prefetchable) [size=28K]
	Region 1: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 3: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 4: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Region 5: [virtual] Memory at fffffe2b00000000 (32-bit, non-prefetchable) [size=1]
	Expansion ROM at fffffe2b00000000 [disabled] [size=1]
	Kernel driver in use: hme

0002:00:03.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 05)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 40
	Region 0: I/O ports at 0400 [size=256]
	Region 1: Memory at 00002000 (32-bit, non-prefetchable) [size=4K]
	Region 2: [virtual] Memory at fffffe2880000000 (32-bit, non-prefetchable) [size=1]
	Region 3: [virtual] Memory at fffffe2880000000 (32-bit, non-prefetchable) [size=1]
	Region 4: [virtual] Memory at fffffe2880000000 (32-bit, non-prefetchable) [size=1]
	Region 5: [virtual] Memory at fffffe2880000000 (32-bit, non-prefetchable) [size=1]
	Expansion ROM at 00010000 [disabled] [size=64K]
	Kernel driver in use: qla1280

0003:80:02.0 FDDI network controller: SysKonnect FDDI Adapter (rev 23)
	Subsystem: SysKonnect Device 5821
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (2000ns min, 40000ns max)
	Interrupt: pin A routed to IRQ 42
	Region 0: Memory at 00002000 (32-bit, non-prefetchable) [size=2K]
	Region 1: I/O ports at 0400 [size=256]
	Region 2: [virtual] Memory at fffffe2900000000 (32-bit, non-prefetchable) [size=1]
	Region 3: [virtual] Memory at fffffe2900000000 (32-bit, non-prefetchable) [size=1]
	Region 4: [virtual] Memory at fffffe2900000000 (32-bit, non-prefetchable) [size=1]
	Region 5: [virtual] Memory at fffffe2900000000 (32-bit, non-prefetchable) [size=1]
	Expansion ROM at fffffe2900000000 [disabled] [size=1]
	Capabilities: [48] Power Management version 1
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=1 PME-
	Capabilities: [50] Vital Product Data <?>
	Kernel driver in use: skfddi
	Kernel modules: skfp




-- 
Meelis Roos (mroos@xxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux