patch-1.3.31 linux/drivers/char/psaux.c
Next file: linux/drivers/char/random.c
Previous file: linux/drivers/char/msbusmouse.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Tue Oct 3 08:27:29 1995
- Orig file:
v1.3.30/linux/drivers/char/psaux.c
- Orig date:
Fri Sep 15 11:13:01 1995
diff -u --recursive --new-file v1.3.30/linux/drivers/char/psaux.c linux/drivers/char/psaux.c
@@ -499,7 +499,6 @@
printk("PS/2 auxiliary pointing device detected -- driver installed.\n");
aux_present = 1;
kbd_read_mask = AUX_OBUF_FULL;
- mouse_register(&psaux_mouse);
} else {
#ifdef MODULE
return -EIO;
@@ -507,6 +506,7 @@
return kmem_start; /* No mouse at all */
#endif
}
+ mouse_register(&psaux_mouse);
queue = (struct aux_queue *) kmem_start;
kmem_start += sizeof (struct aux_queue);
memset(queue, 0, sizeof(*queue));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this