patch-2.1.126 linux/drivers/char/joystick/joy-logitech.c
Next file: linux/drivers/char/joystick/joy-sidewinder.c
Previous file: linux/drivers/char/joystick/joy-lightning.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Wed Oct 21 08:43:34 1998
- Orig file:
v2.1.125/linux/drivers/char/joystick/joy-logitech.c
- Orig date:
Fri Oct 9 13:27:08 1998
diff -u --recursive --new-file v2.1.125/linux/drivers/char/joystick/joy-logitech.c linux/drivers/char/joystick/joy-logitech.c
@@ -92,7 +92,7 @@
__save_flags(flags);
__cli();
- outb(u,io);
+ outb(0xff,io);
u = inb(io);
t = js_get_time();
@@ -232,7 +232,7 @@
static void __init js_lt_trigger_sequence(int io, int *seq)
{
while (*seq) {
- outb(inb(io),io);
+ outb(0xff,io);
udelay(*seq++);
}
}
@@ -288,7 +288,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 (!(i = js_lt_read_packet(io, &data))) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov