aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-27 09:38:30 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-27 09:38:30 -0400
commit9dcba7f2b7697db787741cf6698bf5c95130ffce (patch)
tree2958283804386fb9a3259906b8b28d39cf00aab9
parent4706a7e03a03d6d206a93a49a0c723dd612cf8e9 (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>
-rw-r--r--Documentation/ide/ide.txt9
-rw-r--r--drivers/ide/ide.c2
-rw-r--r--drivers/ide/legacy/gayle.c2
3 files changed, 6 insertions, 7 deletions
diff --git a/Documentation/ide/ide.txt b/Documentation/ide/ide.txt
index caf24b21e7f5..0c78f4b1d9d9 100644
--- a/Documentation/ide/ide.txt
+++ b/Documentation/ide/ide.txt
@@ -181,12 +181,6 @@ driver using the "options=" keyword to insmod, while replacing any ',' with
181Summary of ide driver parameters for kernel command line 181Summary of ide driver parameters for kernel command line
182-------------------------------------------------------- 182--------------------------------------------------------
183 183
184 "ide=doubler" : probe/support IDE doublers on Amiga
185
186There may be more options than shown -- use the source, Luke!
187
188Everything else is rejected with a "BAD OPTION" message.
189
190For legacy IDE VLB host drivers (ali14xx/dtc2278/ht6560b/qd65xx/umc8672) 184For legacy IDE VLB host drivers (ali14xx/dtc2278/ht6560b/qd65xx/umc8672)
191you need to explicitly enable probing by using "probe" kernel parameter, 185you need to explicitly enable probing by using "probe" kernel parameter,
192i.e. to enable probing for ALI M14xx chipsets (ali14xx host driver) use: 186i.e. to enable probing for ALI M14xx chipsets (ali14xx host driver) use:
@@ -203,6 +197,9 @@ are detected automatically).
203You also need to use "probe" kernel parameter for ide-4drives driver 197You also need to use "probe" kernel parameter for ide-4drives driver
204(support for IDE generic chipset with four drives on one port). 198(support for IDE generic chipset with four drives on one port).
205 199
200To enable support for IDE doublers on Amiga use "doubler" kernel parameter
201for gayle host driver (i.e. "gayle.doubler" if the driver is built-in).
202
206To force ignoring cable detection (this should be needed only if you're using 203To force ignoring cable detection (this should be needed only if you're using
207short 40-wires cable which cannot be automatically detected - if this is not 204short 40-wires cable which cannot be automatically detected - if this is not
208a case please report it as a bug instead) use "ignore_cable" kernel parameter: 205a case please report it as a bug instead) use "ignore_cable" kernel parameter:
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)
65int ide_doubler = 0; /* support IDE doublers? */ 65int ide_doubler = 0; /* support IDE doublers? */
66module_param_named(doubler, ide_doubler, bool, 0);
67MODULE_PARM_DESC(doubler, "enable support for IDE doublers");
66#endif /* CONFIG_BLK_DEV_IDEDOUBLER */ 68#endif /* CONFIG_BLK_DEV_IDEDOUBLER */
67 69
68 70