RE: [PATCH 3/5] Float the pci bus number on MPC8641HPCN board.
From: Zhang Wei-r63237 <hidden>
Date: 2007-06-01 06:45:17
From: Zhang Wei-r63237 <hidden>
Date: 2007-06-01 06:45:17
Hi, Paul,=20
-----Original Message----- From: Paul Mackerras [mailto:paulus@samba.org]=20 =20 Kumar Gala writes: =20quoted
quoted
That's my original doing. If there a PCI bridge card be=20pluged into =20quoted
quoted
PCI slot of hose0, I can not ensue the bus_offset number of hose1.=20 Ok, but can't we use hose0's last_busno and use that set hose1-=20 >first_busno & hose1->bus_offset?=20 Why do the bus numbers for hose0 and hose1 have to have any relation to each other at all? Aren't they separate PCI domains?
There are lots of lagacy PCI codes in kernel, such as pci_bus_to_hose(busnr). If two hose's bus number have overlaps, pci_bus_to_hose() can not return the correct hose. And there will effect /proc/pci and lspci tools. Thanks! Wei.