Re: [PARPORT] Missinf #define


Tim Waugh (tim@cyberelk.demon.co.uk)
Mon, 11 Oct 1999 08:13:28 +0100 (BST)


On Wed, 6 Oct 1999, Javier Kohen wrote:

> imm.c:169: `PARPORT_MODE_PCPS2' undeclared (first use in this function)

Please let me know if you can use your Zip drive with this patch.

Thanks,
Tim.
*/

Index: linux/drivers/scsi/imm.c
diff -u linux/drivers/scsi/imm.c:1.1 linux/drivers/scsi/imm.c:1.2
--- linux/drivers/scsi/imm.c:1.1 Fri Sep 24 23:00:09 1999
+++ linux/drivers/scsi/imm.c Mon Oct 11 08:12:29 1999
@@ -166,15 +166,8 @@
          */
         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) {
- w_ecr(ppb, 0x20);
- imm_hosts[i].mode = IMM_PS2;
- }
- if (modes & PARPORT_MODE_PCECPEPP)
- w_ecr(ppb, 0x80);
 
         /* Done configuration */
         imm_pb_release(i);

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Mon 11 Oct 1999 - 03:29:08 EDT