]> git.hungrycats.org Git - linux/commit
[PATCH] Make PCI scanning order the same as 2.4
authorAndrew Morton <akpm@digeo.com>
Sun, 20 Apr 2003 07:27:02 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 20 Apr 2003 07:27:02 +0000 (00:27 -0700)
commit609b0188b7b8d23aad00c5e995461a56f47dc5df
tree939ade0234e0d0190d899a42cb07ec9804dda289
parent5da505b18a17e7007fb7300d3557adbdbeab8193
[PATCH] Make PCI scanning order the same as 2.4

From: Chuck Ebbert <76306.1226@compuserve.com>

2.4 builds its global PCI device list in breadth-first order.

2.5 is doing the scan that way but defers the construction of the global list
until later and then does it depth-first.  This causes devices to found in
different order by drivers.  The below fixed that problem for me.

Russell King has acked this change.
drivers/pci/bus.c