diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 09:38:30 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 09:38:30 -0400 |
commit | 9dcba7f2b7697db787741cf6698bf5c95130ffce (patch) | |
tree | 2958283804386fb9a3259906b8b28d39cf00aab9 /drivers/ide | |
parent | 4706a7e03a03d6d206a93a49a0c723dd612cf8e9 (diff) |
gayle: add "doubler" parameter
* Add "doubler" parameter to enable support for IDE doublers.
* Obsolete "ide=doubler" kernel parameter.
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide.c | 2 | ||||
-rw-r--r-- | drivers/ide/legacy/gayle.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index a4bceeecde70..a017eb242604 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -866,7 +866,7 @@ static int __init ide_setup(char *s) | |||
866 | 866 | ||
867 | printk(" : Enabled support for IDE doublers\n"); | 867 | printk(" : Enabled support for IDE doublers\n"); |
868 | ide_doubler = 1; | 868 | ide_doubler = 1; |
869 | return 1; | 869 | goto obsolete_option; |
870 | } | 870 | } |
871 | #endif /* CONFIG_BLK_DEV_IDEDOUBLER */ | 871 | #endif /* CONFIG_BLK_DEV_IDEDOUBLER */ |
872 | 872 | ||
diff --git a/drivers/ide/legacy/gayle.c b/drivers/ide/legacy/gayle.c index a0c9601bdaf0..61a713bf24b5 100644 --- a/drivers/ide/legacy/gayle.c +++ b/drivers/ide/legacy/gayle.c | |||
@@ -63,6 +63,8 @@ | |||
63 | #define GAYLE_HAS_CONTROL_REG (!ide_doubler) | 63 | #define GAYLE_HAS_CONTROL_REG (!ide_doubler) |
64 | #define GAYLE_IDEREG_SIZE (ide_doubler ? 0x1000 : 0x2000) | 64 | #define GAYLE_IDEREG_SIZE (ide_doubler ? 0x1000 : 0x2000) |
65 | int ide_doubler = 0; /* support IDE doublers? */ | 65 | int ide_doubler = 0; /* support IDE doublers? */ |
66 | module_param_named(doubler, ide_doubler, bool, 0); | ||
67 | MODULE_PARM_DESC(doubler, "enable support for IDE doublers"); | ||
66 | #endif /* CONFIG_BLK_DEV_IDEDOUBLER */ | 68 | #endif /* CONFIG_BLK_DEV_IDEDOUBLER */ |
67 | 69 | ||
68 | 70 | ||