Removed one of the un-documented CTRL pokes, and replace it with a one

second delay.  My ps/2 mouse is now found reliably on my ThinkPad (it
didn't before) and still works on my NEC Versa.

Submitted by:	Richard Wiwatowski <rjwiwat@adelaide.on.net>
This commit is contained in:
Nate Williams 1996-05-07 21:59:44 +00:00
parent f73355c18f
commit 0e76201114
1 changed files with 4 additions and 0 deletions

View File

@ -195,8 +195,12 @@ psmprobe(struct isa_device *dvp)
#endif
psm_poll_status(ioport);
outb(ioport+PSM_CNTRL, PSM_AUX_TEST);
#if 0
psm_poll_status(ioport);
outb(ioport+PSM_CNTRL, 0xaa);
#else
DELAY(1000);
#endif
c = inb(ioport+PSM_DATA);
if(c & 0x04) {
/* printf("PS/2 AUX mouse is not found\n");*/