patch-2.1.8 linux/drivers/block/genhd.c
Next file: linux/drivers/block/ide-cd.c
Previous file: linux/drivers/block/floppy.c
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
Wed Nov  6 14:49:31 1996
-  Orig file: 
v2.1.7/linux/drivers/block/genhd.c
-  Orig date: 
Tue Aug 20 16:44:45 1996
diff -u --recursive --new-file v2.1.7/linux/drivers/block/genhd.c linux/drivers/block/genhd.c
@@ -66,7 +66,6 @@
 	const char *maj = hd->major_name;
 	char unit = (minor >> hd->minor_shift) + 'a';
 
-#ifdef CONFIG_BLK_DEV_IDE
 	/*
 	 * IDE devices use multiple major numbers, but the drives
 	 * are named as:  {hda,hdb}, {hdc,hdd}, {hde,hdf}, {hdg,hdh}..
@@ -82,7 +81,6 @@
 		case IDE0_MAJOR:
 			maj = "hd";
 	}
-#endif
 	part = minor & ((1 << hd->minor_shift) - 1);
 	if (part)
 		sprintf(buf, "%s%c%d", maj, unit, part);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov