pci bus 1

From: Junjiro Okajima (j-okajim@nskli014.nsk.nis.nec.co.jp)
Date: Tue Apr 04 2000 - 07:21:19 EST


Hello, all.

I am not the member of this mailing list, but a challneger of kernel
2.3.99-pre2. And I found a problem with the kernel on my pc which has
more than one pci bus.

Why don't you scan all pci bus'es in the system?
My server pc has a few buses and there are scsi contollers on bus 1,
not bus 0. And there is no IDEs. I tried 2.3.99-pre2 and the kernel
couldn't mount the root partition, since pcibios_init() scans only bus
0.

I inserted a slice of quick hack and it works. How about them?
But I believe there is another way to solve this problem.

2.3.99-pre2/arch/i386/kernel/pci-pc.c
pcibios_init()
{
        :::
        pci_root_bus = pci_scan_bus(0, pci_root_ops, NULL);
        {struct pci_bus *p = pci_scan_bus(1, pci_root_ops, NULL);
        if (p && pci_root_bus) list_add(pci_root_bus, p);}
        :::
}

thanx in advance.

Junjiro Okajima

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:11 EST