Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/arch/i386/isa/lms.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/arch/i386/isa/lms.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.48 retrieving revision 1.48.16.2 diff -u -p -r1.48 -r1.48.16.2 --- src/sys/arch/i386/isa/lms.c 2006/02/19 14:59:22 1.48 +++ src/sys/arch/i386/isa/lms.c 2006/12/10 07:16:11 1.48.16.2 @@ -1,4 +1,4 @@ -/* $NetBSD: lms.c,v 1.48 2006/02/19 14:59:22 thorpej Exp $ */ +/* $NetBSD: lms.c,v 1.48.16.2 2006/12/10 07:16:11 yamt Exp $ */ /*- * Copyright (c) 1993, 1994 Charles M. Hannum. @@ -24,7 +24,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: lms.c,v 1.48 2006/02/19 14:59:22 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lms.c,v 1.48.16.2 2006/12/10 07:16:11 yamt Exp $"); #include #include @@ -77,7 +77,8 @@ const struct wsmouse_accessops lms_acces }; int -lmsprobe(struct device *parent, struct cfdata *match, void *aux) +lmsprobe(struct device *parent, struct cfdata *match, + void *aux) { struct isa_attach_args *ia = aux; bus_space_tag_t iot = ia->ia_iot; @@ -199,7 +200,8 @@ lms_disable(void *v) } int -lms_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct lwp *l) +lms_ioctl(void *v, u_long cmd, caddr_t data, int flag, + struct lwp *l) { #if 0 struct lms_softc *sc = v; @@ -253,7 +255,9 @@ lmsintr(void *arg) if (dx || dy || changed) wsmouse_input(sc->sc_wsmousedev, - buttons, dx, dy, 0, WSMOUSE_INPUT_DELTA); + buttons, + dx, dy, 0, 0, + WSMOUSE_INPUT_DELTA); return -1; }