patch-2.3.99-pre9 linux/drivers/ide/hd.c

Next file: linux/drivers/ide/hpt34x.c
Previous file: linux/drivers/ide/cmd64x.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/drivers/ide/hd.c linux/drivers/ide/hd.c
@@ -881,3 +881,12 @@
 	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);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)