patch-2.1.44 linux/drivers/char/psaux.c
Next file: linux/drivers/char/pty.c
Previous file: linux/drivers/char/n_tty.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Fri Jul 4 23:33:56 1997
- Orig file:
v2.1.43/linux/drivers/char/psaux.c
- Orig date:
Mon Jun 16 16:35:55 1997
diff -u --recursive --new-file v2.1.43/linux/drivers/char/psaux.c linux/drivers/char/psaux.c
@@ -628,7 +628,10 @@
poll_aux_status_nosleep();
#endif /* INITIALIZE_DEVICE */
outb_p(KBD_CCMD_MOUSE_DISABLE, KBD_CNTL_REG); /* Disable Aux device */
- aux_write_dev_nosleep(AUX_INTS_OFF); /* Disable controller interrupts */
+ poll_aux_status_nosleep();
+ outb_p(KBD_CCMD_WRITE_MODE, KBD_CNTL_REG);
+ poll_aux_status_nosleep();
+ outb_p(AUX_INTS_OFF, KBD_DATA_REG);
}
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov