imm.c:in function 'imm_detect':
imm.c:169: 'PARPORT_MODE_PCPS2' undeclared (first use in this function)
imm.c:172: 'PARPORT_MODE_PCECPPS2' undeclared (first use in this
function)
imm.c:176: 'PARPORT_MODE_PCECPEPP' undeclared (first use in this
function)
make[2]: *** [imm.o] Error 1
make[2]: Leaving directory '/usr/src/linux/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory '/usr/src/linux/drivers'
make: *** [_mod_drivers] Error 2
patched against 2.3.17 kernel
--- drivers/scsi/imm.c.old Thu Sep 9 11:15:31 1999
+++ drivers/scsi/imm.c Fri Sep 10 16:36:23 1999
@@ -166,14 +166,14 @@
*/
imm_hosts[i].mode = IMM_NIBBLE;
- if (modes & PARPORT_MODE_PCPS2)
+ if (modes & PARPORT_MODE_TRISTATE)
imm_hosts[i].mode = IMM_PS2;
- if (modes & PARPORT_MODE_PCECPPS2) {
+ if (modes & PARPORT_MODE_ECP) {
w_ecr(ppb, 0x20);
imm_hosts[i].mode = IMM_PS2;
}
- if (modes & PARPORT_MODE_PCECPEPP)
+ if ((modes & PARPORT_MODE_EPP) && (modes & PARPORT_MODE_ECP))
w_ecr(ppb, 0x80);
/* Done configuration */
-
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/