lkml.org 
[lkml]   [1999]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: ECP+EPP mode problem with IOMEGA Zip
Could people who are having trouble with their parallel ports not getting
found try this patch and let me know if it changes anything?

Thanks,
Tim.
*/

--- linux/drivers/misc/parport_pc.c~ Tue Jan 19 20:11:32 1999
+++ linux/drivers/misc/parport_pc.c Tue Jan 19 20:14:03 1999
@@ -354,6 +354,7 @@
parport_pc_epp_clear_timeout(pb);

/* Do a simple read-write test to make sure the port exists. */
+ parport_pc_write_econtrol(pb, 0xc);
parport_pc_write_control(pb, 0xc);
parport_pc_write_data(pb, 0xaa);
if (parport_pc_read_data(pb) != 0xaa) return 0;

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

\
 
 \ /
  Last update: 2005-03-22 13:49    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site