patch-2.0.12 linux/drivers/block/ide.c

Next file: linux/drivers/block/ide.h
Previous file: linux/drivers/block/floppy.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.11/linux/drivers/block/ide.c linux/drivers/block/ide.c
@@ -256,6 +256,7 @@
  *			fix missing restore_flags() in ide_ioctl
  *			prevent use of io_32bit on cmd640 with no prefetch
  * Version 5.49		fix minor quirks in probing routines
+ * Version 5.50		allow values as small as 20 for idebus=
  *
  *  Some additional driver compile-time options are in ide.h
  *
@@ -2807,7 +2808,7 @@
  *				older/odd IDE drives.
  *
  * "idebus=xx"		: inform IDE driver of VESA/PCI bus speed in Mhz,
- *				where "xx" is between 25 and 66 inclusive,
+ *				where "xx" is between 20 and 66 inclusive,
  *				used when tuning chipset PIO modes.
  *				For PCI bus, 25 is correct for a P75 system,
  *				30 is correct for P90,P120,P180 systems,
@@ -2912,10 +2913,10 @@
 	if (s[3] == 'b' && s[4] == 'u' && s[5] == 's') {
 		if (match_parm(&s[6], NULL, vals, 1) != 1)
 			goto bad_option;
-		if (vals[0] >= 25 && vals[0] <= 66)
+		if (vals[0] >= 20 && vals[0] <= 66)
 			idebus_parameter = vals[0];
 		else
-			printk(" -- BAD BUS SPEED! Expected value from 25 to 66");
+			printk(" -- BAD BUS SPEED! Expected value from 20 to 66");
 		goto done;
 	}
 	/*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov