summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-05-07 21:59:44 +0000
committernate <nate@FreeBSD.org>1996-05-07 21:59:44 +0000
commiteb818a13ad83fcd5820c4cc7124e71cb6cf38e56 (patch)
tree37fba2cc73f3a4042b864b38b7abe80c325d89ac
parent8aad1b23c881ad849e3a03eab1568cecd8657048 (diff)
downloadFreeBSD-src-eb818a13ad83fcd5820c4cc7124e71cb6cf38e56.zip
FreeBSD-src-eb818a13ad83fcd5820c4cc7124e71cb6cf38e56.tar.gz
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>
-rw-r--r--sys/i386/isa/psm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/isa/psm.c b/sys/i386/isa/psm.c
index 3a49181..20684b1 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");*/
OpenPOWER on IntegriCloud