patch-2.4.0-test6 linux/drivers/char/msp3400.c

Next file: linux/drivers/char/n_tty.c
Previous file: linux/drivers/char/keyboard.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/drivers/char/msp3400.c linux/drivers/char/msp3400.c
@@ -1168,7 +1168,8 @@
 
 	if (simple == -1) {
 		/* default mode */
-		msp->simple = (((rev2>>8)&0xff) == 0) ? 0 : 1;
+		/* msp->simple = (((rev2>>8)&0xff) == 0) ? 0 : 1; */
+		msp->simple = ((rev1&0xff)+'@' > 'C');
 	} else {
 		/* use insmod option */
 		msp->simple = simple;

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