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

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

diff -u --recursive --new-file v1.3.15/linux/drivers/block/ide.c linux/drivers/block/ide.c
@@ -1753,8 +1753,9 @@
 	bswap = 1;
 	if (cmd == WIN_PIDENTIFY) {
 		if ((id->model[0] == 'N' && id->model[1] == 'E')
-		 || (id->model[0] == 'F' && id->model[1] == 'X'))
-			bswap = 0;	/* NEC and *some* Mitsumi units */
+		 || (id->model[0] == 'F' && id->model[1] == 'X')
+		 || (id->model[0] == 'P' && id->model[1] == 'i'))
+			bswap = 0;	/* NEC, Pioneer and *some* Mitsumi units */
 	}				/* Vertos drives may still be weird */
 	fixstring (id->model,     sizeof(id->model),     bswap);
 	fixstring (id->fw_rev,    sizeof(id->fw_rev),    bswap);

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