Re: parport in 2.3.*

Tim Waugh (twaugh@redhat.com)
Thu, 16 Dec 1999 11:15:12 +0000 (GMT)


On Wed, 15 Dec 1999, Bernhard Rosenkraenzer wrote:

> Still no information in /proc/sys/dev/parport

Please try this out.

Tim.
*/

Index: probe.c
===================================================================
RCS file: /usr/local/src/cvsroot/linux/drivers/parport/probe.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 probe.c
--- probe.c 1999/09/24 22:00:50 1.1.1.1
+++ probe.c 1999/12/16 11:13:40
@@ -143,7 +143,11 @@

/* Negotiate to compatibility mode, and then to device ID mode.
* (This is in case we are already in device ID mode.) */
+ schedule_timeout (HZ);
parport_negotiate (dev->port, IEEE1284_MODE_COMPAT);
+ schedule_timeout (HZ);
+ parport_negotiate (dev->port, IEEE1284_MODE_COMPAT);
+ schedule_timeout (HZ);
retval = parport_negotiate (dev->port,
IEEE1284_MODE_NIBBLE | IEEE1284_DEVICEID);

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