Thread (52 messages) 52 messages, 9 authors, 2007-06-04

RE: [PATCH 3/5] Float the pci bus number on MPC8641HPCN board.

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:
=20
quoted
quoted
That's my original doing. If there a PCI bridge card be=20
pluged into =20
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help