Skip to content

Commit

Permalink
[MIPS] PCI: Set need_domain_info if controller domain index is non-zero.
Browse files Browse the repository at this point in the history
This fixes this little funny:

bigsur:/proc/bus/pci# ls -l
total 0
dr-xr-xr-x    2 root     root            0 Aug 28 19:31 00
dr-xr-xr-x    2 root     root            0 Aug 28 19:31 00
dr-xr-xr-x    2 root     root            0 Aug 28 19:31 01
dr-xr-xr-x    2 root     root            0 Aug 28 19:31 03
-r--r--r--    1 root     root            0 Aug 28 19:31 devices

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
ralfbaechle committed Sep 10, 2007
1 parent fbd0ed3 commit d4ef9dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ static int __init pcibios_init(void)

bus = pci_scan_bus(next_busno, hose->pci_ops, hose);
hose->bus = bus;
need_domain_info = need_domain_info || hose->index;
hose->need_domain_info = need_domain_info;
if (bus) {
next_busno = bus->subordinate + 1;
Expand Down

0 comments on commit d4ef9dd

Please sign in to comment.