From 30274dc58b2bca935aeb1aed62c718e7d619c518 Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sat, 7 Aug 2004 22:10:03 +0200 Subject: Update FreeBSD psm driver. From Arne Schwabe . --- freebsd_mouse.h | 6 +----- psmcomm.c | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/freebsd_mouse.h b/freebsd_mouse.h index 7af95b8..6c134f1 100644 --- a/freebsd_mouse.h +++ b/freebsd_mouse.h @@ -23,11 +23,7 @@ typedef struct mousehw { #define MOUSE_SETVARS _IOW('M', 7, mousevar_t) #define MOUSE_READSTATE _IOWR('M', 8, mousedata_t) #define MOUSE_READDATA _IOWR('M', 9, mousedata_t) -#define MOUSE_SYNGETHWINFO _IOR('M', 10, synapticshw_t) - -#define MOUSE_SYNAPTICS_CMD _IOW('M', 10, char) -#define MOUSE_SYNAPTICS_INFO _IOW('M', 11, char) -#define MOUSE_SYNAPTICS_ENABLE_PASSTHROUGH _IOW('M', 12, char) +#define MOUSE_SYN_GETHWINFO _IOR('M', 100, synapticshw_t) typedef struct synapticshw { diff --git a/psmcomm.c b/psmcomm.c index d7b8844..e4df42b 100644 --- a/psmcomm.c +++ b/psmcomm.c @@ -45,7 +45,7 @@ psm_synaptics_identify(int fd, synapticshw_t *ident) { int ret; - SYSCALL(ret = ioctl(fd, MOUSE_SYNGETHWINFO, ident)); + SYSCALL(ret = ioctl(fd, MOUSE_SYN_GETHWINFO, ident)); if (ret == 0) return TRUE; else -- cgit v1.2.3