aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.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.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.c')
-rw-r--r--drivers/ide/ide.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index fc69fe2e3ec0..5f545153391a 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -90,10 +90,6 @@ static int system_bus_speed; /* holds what we think is VESA/PCI bus speed */
90DEFINE_MUTEX(ide_cfg_mtx); 90DEFINE_MUTEX(ide_cfg_mtx);
91 __cacheline_aligned_in_smp DEFINE_SPINLOCK(ide_lock); 91 __cacheline_aligned_in_smp DEFINE_SPINLOCK(ide_lock);
92 92
93#ifdef CONFIG_IDEPCI_PCIBUS_ORDER
94int ide_scan_direction; /* THIS was formerly 2.2.x pci=reverse */
95#endif
96
97int noautodma = 0; 93int noautodma = 0;
98 94
99#ifdef CONFIG_BLK_DEV_IDEACPI 95#ifdef CONFIG_BLK_DEV_IDEACPI
@@ -1217,14 +1213,6 @@ static int __init ide_setup(char *s)
1217 goto obsolete_option; 1213 goto obsolete_option;
1218 } 1214 }
1219 1215
1220#ifdef CONFIG_IDEPCI_PCIBUS_ORDER
1221 if (!strcmp(s, "ide=reverse")) {
1222 ide_scan_direction = 1;
1223 printk(" : Enabled support for IDE inverse scan order.\n");
1224 goto obsolete_option;
1225 }
1226#endif
1227
1228#ifdef CONFIG_BLK_DEV_IDEACPI 1216#ifdef CONFIG_BLK_DEV_IDEACPI
1229 if (!strcmp(s, "ide=noacpi")) { 1217 if (!strcmp(s, "ide=noacpi")) {
1230 //printk(" : Disable IDE ACPI support.\n"); 1218 //printk(" : Disable IDE ACPI support.\n");