aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-scan-pci.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-04-17 18:46:20 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 18:46:20 -0400
commita594eeb1a1d320981fccc29584b6f21fcebd765f (patch)
tree55f76c9a9b99c4dd98a5ff6034d7150de7057085 /drivers/ide/ide-scan-pci.c
parent4b119e21d0c66c22e8ca03df05d9de623d0eb50f (diff)
IDE: remove ide=reverse IDE core
This option is obsolete and can be removed safely. It allows us to remove the pci_get_device_reverse() function from the PCI core. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-scan-pci.c')
-rw-r--r--drivers/ide/ide-scan-pci.c9
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