patch-2.3.43 linux/include/linux/lp.h
Next file: linux/include/linux/mc146818rtc.h
Previous file: linux/include/linux/linkage.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Tue Feb 8 12:10:31 2000
- Orig file:
v2.3.42/linux/include/linux/lp.h
- Orig date:
Fri Oct 15 15:25:14 1999
diff -u --recursive --new-file v2.3.42/linux/include/linux/lp.h linux/include/linux/lp.h
@@ -89,6 +89,7 @@
#define LPGETSTATS 0x060d /* get statistics (struct lp_stats) */
#endif
#define LPGETFLAGS 0x060e /* get status flags */
+#define LPSETTIMEOUT 0x060f /* set parport timeout */
/* timeout for printk'ing a timeout, in jiffies (100ths of a second).
This is also used for re-checking error conditions if LP_ABORT is
@@ -145,6 +146,7 @@
unsigned int last_error;
struct semaphore port_mutex;
wait_queue_head_t dataq;
+ long timeout;
};
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)