summaryrefslogtreecommitdiff
path: root/sys/dev/pckbc/pms.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2012-04-28 09:43:25 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2012-04-28 09:43:25 +0000
commit53d9066e301163d63ac0511f9eb8947fd45db8fa (patch)
tree1b066aed37c0f96646f852d8a20cb4b1c9162c13 /sys/dev/pckbc/pms.c
parent092256f3cb69ed0f727c7d3c94ae717771b269ee (diff)
Added yet another magic for my ALPS touchpad.
ok mpi@
Diffstat (limited to 'sys/dev/pckbc/pms.c')
-rw-r--r--sys/dev/pckbc/pms.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pckbc/pms.c b/sys/dev/pckbc/pms.c
index 5a026fc8639..c8909a28e10 100644
--- a/sys/dev/pckbc/pms.c
+++ b/sys/dev/pckbc/pms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pms.c,v 1.28 2012/03/05 18:42:55 shadchin Exp $ */
+/* $OpenBSD: pms.c,v 1.29 2012/04/28 09:43:24 tobias Exp $ */
/* $NetBSD: psm.c,v 1.11 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
@@ -1131,7 +1131,8 @@ pms_enable_alps(struct pms_softc *sc)
pms_get_status(sc, resp) ||
resp[0] != PMS_ALPS_MAGIC1 ||
resp[1] != PMS_ALPS_MAGIC2 ||
- (resp[2] != PMS_ALPS_MAGIC3_1 && resp[2] != PMS_ALPS_MAGIC3_2))
+ (resp[2] != PMS_ALPS_MAGIC3_1 && resp[2] != PMS_ALPS_MAGIC3_2 &&
+ resp[2] != PMS_ALPS_MAGIC3_3))
return (0);
if (sc->alps == NULL) {