patch-2.1.105 linux/drivers/misc/parport_ax.c
Next file: linux/drivers/misc/parport_pc.c
Previous file: linux/drivers/misc/parport_arc.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sat Jun 6 19:17:55 1998
- Orig file:
v2.1.104/linux/drivers/misc/parport_ax.c
- Orig date:
Tue Mar 10 10:03:32 1998
diff -u --recursive --new-file v2.1.104/linux/drivers/misc/parport_ax.c linux/drivers/misc/parport_ax.c
@@ -208,6 +208,13 @@
}
void
+parport_ax_init_state(struct parport_state *s)
+{
+ s->u.pc.ctr = 0xc;
+ s->u.pc.ecr = 0x0;
+}
+
+void
parport_ax_save_state(struct parport *p, struct parport_state *s)
{
s->u.pc.ctr = parport_ax_read_control(p);
@@ -301,6 +308,7 @@
parport_ax_ecp_write_block,
parport_ax_ecp_read_block,
+ parport_ax_init_state,
parport_ax_save_state,
parport_ax_restore_state,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov