The following patch solves the problem:
--- linux/drivers/scsi/imm.c.orig Tue Feb 9 00:22:24 1999
+++ linux/drivers/scsi/imm.c Tue Feb 9 01:52:45 1999
@@ -1184,7 +1184,12 @@
old_mode = imm_hosts[host_no].mode;
for (loop = 0; loop < 8; loop++) {
/* Attempt to use EPP for Test Unit Ready */
- if ((ppb & 0x0007) == 0x0000)
+
+/* The following pair of lines didn't check whether old_mode was IMM_EPP_16,
+and it broke the whole imm on my laptop (PS/2 mode).
+This fixes the problem for my configuration.
+[David.Monniaux@ens.fr] */
+ if (old_mode == IMM_EPP_16 && (ppb & 0x0007) == 0x0000)
imm_hosts[host_no].mode = IMM_EPP_32;
second_pass:
~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/