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

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

From: Kumar Gala <hidden>
Date: 2007-06-01 19:58:25

On Jun 1, 2007, at 1:45 AM, Zhang Wei-r63237 wrote:
Hi, Paul,
quoted
-----Original Message-----
From: Paul Mackerras [mailto:paulus@samba.org]

Kumar Gala writes:
quoted
quoted
That's my original doing. If there a PCI bridge card be
pluged into
quoted
quoted
PCI
slot of hose0, I can not ensue the bus_offset number of hose1.
Ok, but can't we use hose0's last_busno and use that set hose1-
quoted
first_busno & hose1->bus_offset?
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.

So looking at the code it looks like pci_assign_all_buses should  
handle numbering the busses properly when we scan the busses, so  
what's the issue that causes that not to be correct?

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help