summaryrefslogtreecommitdiffstats
path: root/drivers/ide/hd.c
diff options
context:
space:
mode:
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);