Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/sys/dev/pckbport Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/805534722694
branches:  netbsd-9
changeset: 746405:805534722694
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Mar 30 18:47:33 2020 +0000

description:
Pull up following revision(s) (requested by nia in ticket #810):

        sys/dev/pckbport/synaptics.c: revision 1.57
        sys/dev/pckbport/synaptics.c: revision 1.58

synaptics: Allow the max_speed sysctls to be set
synaptics: fix syntax

diffstat:

 sys/dev/pckbport/synaptics.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 76e93256120b -r 805534722694 sys/dev/pckbport/synaptics.c
--- a/sys/dev/pckbport/synaptics.c      Mon Mar 30 18:45:16 2020 +0000
+++ b/sys/dev/pckbport/synaptics.c      Mon Mar 30 18:47:33 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: synaptics.c,v 1.50.2.1 2020/03/30 18:45:16 martin Exp $        */
+/*     $NetBSD: synaptics.c,v 1.50.2.2 2020/03/30 18:47:33 martin Exp $        */
 
 /*
  * Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
 #include "opt_pms.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.50.2.1 2020/03/30 18:45:16 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.50.2.2 2020/03/30 18:47:33 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -862,7 +862,10 @@
        } else
        if (node.sysctl_num == synaptics_gesture_length_nodenum ||
            node.sysctl_num == synaptics_edge_motion_delta_nodenum ||
-           node.sysctl_num == synaptics_up_down_motion_delta_nodenum) {
+           node.sysctl_num == synaptics_up_down_motion_delta_nodenum ||
+           node.sysctl_num == synaptics_max_speed_x_nodenum ||
+           node.sysctl_num == synaptics_max_speed_y_nodenum ||
+           node.sysctl_num == synaptics_max_speed_z_nodenum) {
                if (t < 0)
                        return (EINVAL);
        } else



Home | Main Index | Thread Index | Old Index