diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-05-25 15:04:27 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-05-25 15:04:27 +0000 |
commit | 4b735735a3bbc356326496aad61326995216333e (patch) | |
tree | 273952ec6db6514644dc76f4faedf141a84001b6 /sys/dev | |
parent | 093099919550a9c798e5bf5c4909c2e597e53f26 (diff) |
Match newer elantech v4 touchpads, logic taken from Linux.
Based on a submission from and ok jcs@.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pckbc/pms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pckbc/pms.c b/sys/dev/pckbc/pms.c index d34636127ec..2e7e6e3e4f2 100644 --- a/sys/dev/pckbc/pms.c +++ b/sys/dev/pckbc/pms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pms.c,v 1.60 2015/05/04 09:33:46 mpi Exp $ */ +/* $OpenBSD: pms.c,v 1.61 2015/05/25 15:04:26 mpi Exp $ */ /* $NetBSD: psm.c,v 1.11 2000/06/05 22:20:57 sommerfeld Exp $ */ /*- @@ -1840,7 +1840,7 @@ elantech_get_hwinfo_v4(struct pms_softc *sc) if (synaptics_query(sc, ELANTECH_QUE_FW_VER, &fw_version)) return (-1); - if (((fw_version & 0x0f0000) >> 16) != 6) + if (((fw_version & 0x0f0000) >> 16) < 6) return (-1); elantech->fw_version = fw_version; |