2.3.10-pre3: imm.c

Tim Waugh (tim@cyberelk.demon.co.uk)
Mon, 5 Jul 1999 21:41:15 +0100 (GMT)


Here's a patch that should take care of imm.c. I don't have one of the
newer Zip drives so I can't test it out myself.

Tim.
*/

--- linux/drivers/scsi/imm.c~ Mon Jul 5 21:33:20 1999
+++ linux/drivers/scsi/imm.c Mon Jul 5 21:37:12 1999
@@ -166,15 +166,8 @@
*/
imm_hosts[i].mode = IMM_NIBBLE;

- if (modes & PARPORT_MODE_PCPS2)
- imm_hosts[i].mode = IMM_PS2;
-
- if (modes & PARPORT_MODE_PCECPPS2) {
- w_ecr(ppb, 0x20);
+ if (modes & PARPORT_MODE_TRISTATE)
imm_hosts[i].mode = IMM_PS2;
- }
- if (modes & PARPORT_MODE_PCECPEPP)
- w_ecr(ppb, 0x80);

/* Done configuration */
imm_pb_release(i);

-
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/