From 0e76201114e23f18c6406c8e383cc8f6da9cb287 Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Tue, 7 May 1996 21:59:44 +0000 Subject: [PATCH] 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 --- sys/i386/isa/psm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/i386/isa/psm.c b/sys/i386/isa/psm.c index 3a491817efc..20684b1e865 100644 --- a/sys/i386/isa/psm.c +++ b/sys/i386/isa/psm.c @@ -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");*/