patch-2.4.19 linux-2.4.19/drivers/block/paride/paride.h
Next file: linux-2.4.19/drivers/block/paride/pg.c
Previous file: linux-2.4.19/drivers/block/paride/paride.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/drivers/block/paride/paride.h
- Orig date:
Fri Sep 22 14:21:16 2000
diff -urN linux-2.4.18/drivers/block/paride/paride.h linux-2.4.19/drivers/block/paride/paride.h
@@ -13,9 +13,10 @@
/* Changes:
1.01 GRG 1998.05.05 init_proto, release_proto
+ 1.01ac AGC 2002.04.03 added privptr
*/
-#define PARIDE_H_VERSION "1.01"
+#define PARIDE_H_VERSION "1.01ac"
/* Some adapters need to know what kind of device they are in
@@ -46,7 +47,9 @@
int saved_r2; /* saved port state */
int reserved; /* number of ports reserved */
int private; /* for protocol module */
-
+ void *privptr; /* private pointer for protocol module */
+ /* For 2.5 just make private a ulong but
+ for 2.4 fixups thats a bit risky.. */
wait_queue_head_t parq; /* semaphore for parport sharing */
void *pardev; /* pointer to pardevice */
char *parname; /* parport name */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)