diff options
Diffstat (limited to 'drivers/ide/ide-scan-pci.c')
-rw-r--r-- | drivers/ide/ide-scan-pci.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/ide/ide-scan-pci.c b/drivers/ide/ide-scan-pci.c index 93d2e41be853..98888da1b600 100644 --- a/drivers/ide/ide-scan-pci.c +++ b/drivers/ide/ide-scan-pci.c | |||
@@ -88,13 +88,8 @@ static int __init ide_scan_pcibus(void) | |||
88 | struct list_head *l, *n; | 88 | struct list_head *l, *n; |
89 | 89 | ||
90 | pre_init = 0; | 90 | pre_init = 0; |
91 | if (!ide_scan_direction) | 91 | while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev))) |
92 | while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev))) | 92 | ide_scan_pcidev(dev); |
93 | ide_scan_pcidev(dev); | ||
94 | else | ||
95 | while ((dev = pci_get_device_reverse(PCI_ANY_ID, PCI_ANY_ID, | ||
96 | dev))) | ||
97 | ide_scan_pcidev(dev); | ||
98 | 93 | ||
99 | /* | 94 | /* |
100 | * Hand the drivers over to the PCI layer now we | 95 | * Hand the drivers over to the PCI layer now we |