Comment 1 for bug 68639

Revision history for this message
Nicolas Gama (gama-nicolas) wrote : The probe of PCI busses occurs too early !

I fixed this problem by adding a delay of 1 second at the beginning of the function pci_do_scan_bus(struct pci_bus *bus) in drivers/pci/probe.c.

I added these lines:
----------------------------------------------------------------
        int wait1,wait2,dummy;
        dummy=0;
        printk("PCI-Gam: Wait 1 second\n");
        for (wait1=0;wait1!=1000000;wait1++)
            for (wait2=0;wait2!=6000;wait2++)
                dummy = 123456-dummy;
        printk("PCI-Gam: Start scanning bus\n");
-----------------------------------------------------------------

Now when the PCI driver scans the root bus (after the small delay), it finds the three USB hubs correctly.

At last I can use my keyboard !