summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1995-06-22 10:56:56 +0000
committerdfr <dfr@FreeBSD.org>1995-06-22 10:56:56 +0000
commitd03b2dfd3023dba5221b8981f028bf7890699286 (patch)
treec4bfd861a1a9f63a6fcc26e2e210f95db494a8e1 /sys/i386/isa
parent5eba76030c8ad21550af156dc834fd9721e62149 (diff)
downloadFreeBSD-src-d03b2dfd3023dba5221b8981f028bf7890699286.zip
FreeBSD-src-d03b2dfd3023dba5221b8981f028bf7890699286.tar.gz
Add an option to the psm driver to skip the parts of the probe which break
some laptops with PS/2 mice. Submitted by: nsayer@quack.kfu.com
Diffstat (limited to 'sys/i386/isa')
-rw-r--r--sys/i386/isa/psm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/isa/psm.c b/sys/i386/isa/psm.c
index 2026a45..a4fb84e 100644
--- a/sys/i386/isa/psm.c
+++ b/sys/i386/isa/psm.c
@@ -150,8 +150,10 @@ int psmprobe(struct isa_device *dvp)
ioport=dvp->id_iobase;
unit=dvp->id_unit;
+#ifndef PSM_NO_RESET
psm_write_dev(ioport,0xff); /* Reset aux device */
psm_poll_status();
+#endif
outb(ioport+CNTRL,0xa9);
psm_poll_status();
outb(ioport+CNTRL,0xaa);
OpenPOWER on IntegriCloud