]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ide: mark "ide=reverse" option as obsolete
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 13 Feb 2008 22:20:36 +0000 (23:20 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:27:07 +0000 (15:27 -0800)
- 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 <alan@lxorguk.ukuu.org.uk>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ide/ide.c

index 4a8952a6c3daa2433c8cc7c876c5d4b55388daf1..477833f0daf501cbb1a67150e6523818a1fc38f6 100644 (file)
@@ -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