patch-1.3.36 linux/drivers/block/genhd.c
Next file: linux/drivers/block/gscd.c
Previous file: linux/drivers/block/floppy.c
Back to the patch index
Back to the overall index
-  Lines: 10
 -  Date:
Fri Oct 20 10:10:39 1995
 -  Orig file: 
v1.3.35/linux/drivers/block/genhd.c
 -  Orig date: 
Tue Oct 10 18:46:31 1995
 
diff -u --recursive --new-file v1.3.35/linux/drivers/block/genhd.c linux/drivers/block/genhd.c
@@ -213,7 +213,8 @@
 	if (!tested_for_dm6++) {	/* only check for DM6 *once* */
 		extern int ide_xlate_1024(kdev_t, int, const char *);
 		/* check for various "disk managers" which do strange things */
-		if (p->sys_ind == EZD_PARTITION) {
+		int ezstring = !strncmp(data+0x1a3, "Micro House", 11);
+		if (p->sys_ind == EZD_PARTITION || ezstring) {
 			/*
 			 * The remainder of the disk must be accessed using
 			 * a translated geometry that reduces the number of 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this