Re: USB bug in 2.3.12

Tim Waugh (tim@cyberelk.demon.co.uk)
Thu, 29 Jul 1999 21:42:15 +0100 (GMT)


On Thu, 29 Jul 1999, Arnaldo Carvalho de Melo wrote:

> I've got this one too, but as I don't need imm support I've just take it
> of my config. Anybody looking into this bug? 30 minutes from now I try and
> fix it 8)

I posted a patch for this a few weeks ago. No-one tested it (or at least,
no-one tested it and told me whether or not it worked), so I didn't send
it to Linus.

Here it is again though.

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/