Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d4ef9dd33d0f513777409710fd99e016d46c3a85
Commit:     d4ef9dd33d0f513777409710fd99e016d46c3a85
Parent:     fbd0ed37c894759a5868638c3f509e0de864aba5
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 29 08:34:39 2007 +0100
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Mon Sep 10 21:25:28 2007 +0100

    [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 <[EMAIL PROTECTED]>
---
 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 6c5c684..589b745 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to