summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/cpu.h
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2007-05-29 21:09:44 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2007-05-29 21:09:44 +0000
commitcfbb82b0dbaf3d9c8aa308fe9d8f0b0f173e2c08 (patch)
tree12f588b2916b7b03240f6d0a3d9796870b7637cc /sys/arch/arm/include/cpu.h
parentb28e2a7b2962663d70c5043e7f7357dde5e7c18b (diff)
Make use of struct wsmouse_calibcoords and add ioctl support
for getting and passing calibration values instead of using sysctl. Move the scale struct to uts_softc so that each device can have it's own values instead of using the global one. Remove the two MD sysctl (ztsscale and ztsrawmode). ok deraadt@
Diffstat (limited to 'sys/arch/arm/include/cpu.h')
-rw-r--r--sys/arch/arm/include/cpu.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/arm/include/cpu.h b/sys/arch/arm/include/cpu.h
index db0450d3b52..c39ad0d5ec6 100644
--- a/sys/arch/arm/include/cpu.h
+++ b/sys/arch/arm/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.16 2007/05/14 07:07:09 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.17 2007/05/29 21:09:43 robert Exp $ */
/* $NetBSD: cpu.h,v 1.34 2003/06/23 11:01:08 martin Exp $ */
/*
@@ -62,8 +62,6 @@
#define CPU_ALLOWAPERTURE 6 /* int: allow mmap of /dev/xf86 */
#define CPU_APMWARN 7 /* APM battery warning percentage */
#define CPU_KBDRESET 8 /* int: console keyboard reset */
-#define CPU_ZTSRAWMODE 9 /* int: zts returns unscaled x/y */
-#define CPU_ZTSSCALE 10 /* struct: zts scaling parameters */
#define CPU_MAXSPEED 11 /* int: number of valid machdep ids */
#define CPU_LIDSUSPEND 12 /* int: closing lid causes suspend */
#define CPU_MAXID 13 /* number of valid machdep ids */
@@ -78,8 +76,6 @@
{ "allowaperture", CTLTYPE_INT }, \
{ "apmwarn", CTLTYPE_INT }, \
{ "kbdreset", CTLTYPE_INT }, \
- { "ztsrawmode", CTLTYPE_INT }, \
- { "ztsscale", CTLTYPE_STRUCT }, \
{ "maxspeed", CTLTYPE_INT }, \
{ "lidsuspend", CTLTYPE_INT } \
}