patch-2.1.89 linux/drivers/misc/parport_arc.c
Next file: linux/drivers/misc/parport_ax.c
Previous file: linux/drivers/macintosh/aty.c
Back to the patch index
Back to the overall index
-  Lines: 19
-  Date:
Tue Feb 24 22:33:03 1998
-  Orig file: 
v2.1.88/linux/drivers/misc/parport_arc.c
-  Orig date: 
Fri Jan 30 11:28:07 1998
diff -u --recursive --new-file v2.1.88/linux/drivers/misc/parport_arc.c linux/drivers/misc/parport_arc.c
@@ -31,15 +31,15 @@
 #define DATA_LATCH    0x3350010
 
 /* ARC can't read from the data latch, so we must use a soft copy. */
-static unsigned int data_copy;
+static unsigned char data_copy;
 
-static void arc_write_data(struct parport *p, unsigned int data)
+static void arc_write_data(struct parport *p, unsigned char data)
 {
 	data_copy = data;
 	outb(data, DATA_LATCH);
 }
 
-static unsigned int arc_read_data(struct parport *p)
+static unsigned char arc_read_data(struct parport *p)
 {
 	return data_copy;
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov