diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-08-29 03:34:39 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-09-11 14:03:25 -0400 |
commit | 41f9c78c2e599d3a50cf092eda2d1c2d5962bda8 (patch) | |
tree | 7b88f2523ad11fe66f0d5bb31db2f5d502bee47a /arch/mips | |
parent | 28e18a0f691b3737f73ab9033ded6a4da6c31b2f (diff) |
[MIPS] PCI: Set need_domain_info if controller domain index is non-zero.
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>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/pci/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c index 6c5c684d1422..589b745d822a 100644 --- a/arch/mips/pci/pci.c +++ b/arch/mips/pci/pci.c | |||
@@ -141,6 +141,7 @@ static int __init pcibios_init(void) | |||
141 | 141 | ||
142 | bus = pci_scan_bus(next_busno, hose->pci_ops, hose); | 142 | bus = pci_scan_bus(next_busno, hose->pci_ops, hose); |
143 | hose->bus = bus; | 143 | hose->bus = bus; |
144 | need_domain_info = need_domain_info || hose->index; | ||
144 | hose->need_domain_info = need_domain_info; | 145 | hose->need_domain_info = need_domain_info; |
145 | if (bus) { | 146 | if (bus) { |
146 | next_busno = bus->subordinate + 1; | 147 | next_busno = bus->subordinate + 1; |