]> git.neil.brown.name Git - history.git/commit
[PCI] pci-13: unuse pci_do_scan_bus()
authorRussell King <rmk@flint.arm.linux.org.uk>
Sun, 16 Mar 2003 23:21:31 +0000 (23:21 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sun, 16 Mar 2003 23:21:31 +0000 (23:21 +0000)
commit52e13cc28ad2893e604650ccd72ddd0ea5fad509
treec2e12357768e58ce4f6bf88e4eb115da074a74db
parentc907ed24d7f3d5778a4b204713bed1525c65157a
[PCI] pci-13: unuse pci_do_scan_bus()

In an attempt to "unuse" pci_do_scan_bus() so it can be eventually
killed, make pci_scan_bus_parented() call the new pci_scan_child_bus()
and pci_bus_add_devices().  The only remaining callers are the
hotplug drivers.

Eventually, pci_bus_add_devices() will be removed from this function -
it is intended that architectures should call this after they have
done any setups and fixups to the scanned bus.

It is legal to call pci_bus_add_devices() on a bus which has already
had this function called, so architectures could update today.
drivers/pci/probe.c