From: Bartlomiej Zolnierkiewicz Date: Wed, 13 Feb 2008 22:20:36 +0000 (+0100) Subject: ide: mark "ide=reverse" option as obsolete X-Git-Tag: v2.6.25-rc3~96^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2952755ce364b81f904b49397f6b0004dead2c9f;p=linux-2.6 ide: mark "ide=reverse" option as obsolete - it is valid only if "Probe IDE PCI devices in the PCI bus order (DEPRECATED)" config option is used - Greg needs to remove pci_get_device_reverse() for PCI core changes Cc: Alan Cox Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 4a8952a6c3..477833f0da 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c @@ -1229,7 +1229,7 @@ static int __init ide_setup(char *s) if (!strcmp(s, "ide=reverse")) { ide_scan_direction = 1; printk(" : Enabled support for IDE inverse scan order.\n"); - return 1; + goto obsolete_option; } #endif