Hi,
this should fix a reported problem
to correctly identify SMSC37c665/6GT types.
Please submit to the kernel, as this is obviously
a bug fix, Tim.
Regards, Gunther
--- parport_pc.c-2.3.99pre7 Sat Apr 29 21:56:28 2000
+++ parport_pc.c Sat Apr 29 21:58:23 2000
@@ -1218,7 +1218,7 @@
if (devid == devrev)
/* simple heuristics, we happened to read some
- non-winbond register */
+ non-smsc register */
return;
func=NULL;
@@ -1228,8 +1228,8 @@
if (id==0x0302) {type="37c669"; func=show_parconfig_smsc37c669;}
else if (id==0x6582) type="37c665IR";
- else if ((id==0x6502) && (key==0x44)) type="37c665GT";
- else if ((id==0x6502) && (key==0x55)) type="37c666GT";
+ else if (devid==0x65) type="37c665GT";
+ else if (devid==0x66) type="37c666GT";
if(type==NULL)
printk("SMSC unknown chip type\n");
-- 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 2b29 : Sat Apr 29 2000 - 16:08:46 EDT