diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 14:15:26 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 14:15:26 -0400 |
commit | 9f5af4d667a6d4ebd66019b4b26b445ddbae6d6c (patch) | |
tree | 43dbe739c4c69f6bbb0a5d132bb678c901c225ca /drivers/ide/gayle.c | |
parent | 41fa9f863baacd32dd049daf8050d55a0c9e6f1a (diff) |
ide: remove CONFIG_BLK_DEV_IDEDOUBLER config option
Nowadays it is not worth having a separate config option for
Amiga IDE Doubler support so always include it (it still needs
to be explicitly enabled by module parameter).
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/gayle.c')
-rw-r--r-- | drivers/ide/gayle.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/ide/gayle.c b/drivers/ide/gayle.c index dc778251cb05..c7119516c5a7 100644 --- a/drivers/ide/gayle.c +++ b/drivers/ide/gayle.c | |||
@@ -53,11 +53,6 @@ | |||
53 | 53 | ||
54 | #define GAYLE_NEXT_PORT 0x1000 | 54 | #define GAYLE_NEXT_PORT 0x1000 |
55 | 55 | ||
56 | #ifndef CONFIG_BLK_DEV_IDEDOUBLER | ||
57 | #define GAYLE_NUM_HWIFS 1 | ||
58 | #define GAYLE_NUM_PROBE_HWIFS GAYLE_NUM_HWIFS | ||
59 | #define GAYLE_HAS_CONTROL_REG 1 | ||
60 | #else /* CONFIG_BLK_DEV_IDEDOUBLER */ | ||
61 | #define GAYLE_NUM_HWIFS 2 | 56 | #define GAYLE_NUM_HWIFS 2 |
62 | #define GAYLE_NUM_PROBE_HWIFS (ide_doubler ? GAYLE_NUM_HWIFS : \ | 57 | #define GAYLE_NUM_PROBE_HWIFS (ide_doubler ? GAYLE_NUM_HWIFS : \ |
63 | GAYLE_NUM_HWIFS-1) | 58 | GAYLE_NUM_HWIFS-1) |
@@ -66,8 +61,6 @@ | |||
66 | static int ide_doubler; | 61 | static int ide_doubler; |
67 | module_param_named(doubler, ide_doubler, bool, 0); | 62 | module_param_named(doubler, ide_doubler, bool, 0); |
68 | MODULE_PARM_DESC(doubler, "enable support for IDE doublers"); | 63 | MODULE_PARM_DESC(doubler, "enable support for IDE doublers"); |
69 | #endif /* CONFIG_BLK_DEV_IDEDOUBLER */ | ||
70 | |||
71 | 64 | ||
72 | /* | 65 | /* |
73 | * Check and acknowledge the interrupt status | 66 | * Check and acknowledge the interrupt status |
@@ -151,10 +144,7 @@ static int __init gayle_init(void) | |||
151 | found: | 144 | found: |
152 | printk(KERN_INFO "ide: Gayle IDE controller (A%d style%s)\n", | 145 | printk(KERN_INFO "ide: Gayle IDE controller (A%d style%s)\n", |
153 | a4000 ? 4000 : 1200, | 146 | a4000 ? 4000 : 1200, |
154 | #ifdef CONFIG_BLK_DEV_IDEDOUBLER | 147 | ide_doubler ? ", IDE doubler" : ""); |
155 | ide_doubler ? ", IDE doubler" : | ||
156 | #endif | ||
157 | ""); | ||
158 | 148 | ||
159 | if (a4000) { | 149 | if (a4000) { |
160 | phys_base = GAYLE_BASE_4000; | 150 | phys_base = GAYLE_BASE_4000; |