patch-2.1.126 linux/drivers/char/joystick/joy-assasin.c
Next file: linux/drivers/char/joystick/joy-console.c
Previous file: linux/drivers/char/joystick/joy-analog.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Oct 21 08:43:33 1998
- Orig file:
v2.1.125/linux/drivers/char/joystick/joy-assasin.c
- Orig date:
Fri Oct 9 13:27:08 1998
diff -u --recursive --new-file v2.1.125/linux/drivers/char/joystick/joy-assasin.c linux/drivers/char/joystick/joy-assasin.c
@@ -84,7 +84,7 @@
__save_flags(flags);
__cli();
- outb(inb(io),io);
+ outb(0xff,io);
u = inb(io);
t = js_get_time();
@@ -306,7 +306,7 @@
if (check_region(io, 1)) return port;
if (((u = inb(io)) & 3) == 3) return port;
- outb(u,io);
+ outb(0xff,io);
if (!((inb(io) ^ u) & ~u & 0xf)) return port;
if (js_as_read_packet(io, 1, data) != 1) return port;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov