patch-2.4.19 linux-2.4.19/include/linux/parport.h

Next file: linux-2.4.19/include/linux/pci.h
Previous file: linux-2.4.19/include/linux/nls.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/linux/parport.h linux-2.4.19/include/linux/parport.h
@@ -458,7 +458,10 @@
 extern int parport_negotiate (struct parport *, int mode);
 extern ssize_t parport_write (struct parport *, const void *buf, size_t len);
 extern ssize_t parport_read (struct parport *, void *buf, size_t len);
+
+#define PARPORT_INACTIVITY_O_NONBLOCK 1
 extern long parport_set_timeout (struct pardevice *, long inactivity);
+
 extern int parport_wait_event (struct parport *, long timeout);
 extern int parport_wait_peripheral (struct parport *port,
 				    unsigned char mask,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)