summaryrefslogtreecommitdiffstats
path: root/drivers/ide/hd.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-06-15 01:55:58 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-06-15 01:55:58 +0000
commit53b3988d474435254a3b053a68bb24ce9e439295 (patch)
treef8da8e40f01f4ad02bbd76b8c9920749b118235f /drivers/ide/hd.c
parentb0cb48abe83d1a4389ea938bf624f8baa82c5047 (diff)
Merge with 2.3.99-pre9.
Diffstat (limited to 'drivers/ide/hd.c')
-rw-r--r--drivers/ide/hd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/ide/hd.c b/drivers/ide/hd.c
index b64a9738c..1c6a0b286 100644
--- a/drivers/ide/hd.c
+++ b/drivers/ide/hd.c
@@ -881,3 +881,12 @@ static int revalidate_hddisk(kdev_t dev, int maxusage)
return 0;
}
+static int parse_hd_setup (char *line) {
+ int ints[6];
+
+ (void) get_options(line, ARRAY_SIZE(ints), ints);
+ hd_setup(NULL, ints);
+
+ return 0;
+}
+__setup("hd=", parse_hd_setup);