patch-2.3.1 linux/drivers/block/genhd.c

Next file: linux/drivers/block/hd.c
Previous file: linux/drivers/block/gayle.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/block/genhd.c linux/drivers/block/genhd.c
@@ -83,6 +83,10 @@
 	 * This requires special handling here.
 	 */
 	switch (hd->major) {
+		case IDE7_MAJOR:
+			unit += 2;
+		case IDE6_MAJOR:
+			unit += 2;
 		case IDE5_MAJOR:
 			unit += 2;
 		case IDE4_MAJOR:

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