summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 18:08:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 18:08:29 +0000
commit306b1881d27752fd989521cc81345848343509ce (patch)
tree8f7a64822ea7915f25f08ff205e42035c11a94f3 /sys/arch/sparc/include
parentc5cb947e016ed38b8321c71d82765346f851ba5d (diff)
pretty
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r--sys/arch/sparc/include/kbio.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/sparc/include/kbio.h b/sys/arch/sparc/include/kbio.h
index 049bfb79fed..2a2c3b427aa 100644
--- a/sys/arch/sparc/include/kbio.h
+++ b/sys/arch/sparc/include/kbio.h
@@ -66,7 +66,7 @@
* Keyboard commands and types are defined in kbd.h as they are actually
* real hardware commands and type numbers.
*/
-struct okiockey { /* Out-dated key translation structure */
+struct okiockey { /* Out-dated key translation structure */
int kio_tablemask; /* whatever */
u_char kio_station; /* key number */
u_char kio_entry; /* HOLE if not present */
@@ -85,12 +85,12 @@ struct kiockey {
* in KIOC[SG]KEY ioctls. Currently, we only have "non-shift" and "shift"
* tables.
*/
-#define KIOC_NOMASK 0x0
-#define KIOC_CAPSMASK 0x1
-#define KIOC_SHIFTMASK 0xe
-#define KIOC_CTRLMASK 0x30
-#define KIOC_ALTGMASK 0x200
-#define KIOC_NUMLMASK 0x800
+#define KIOC_NOMASK 0x0
+#define KIOC_CAPSMASK 0x1
+#define KIOC_SHIFTMASK 0xe
+#define KIOC_CTRLMASK 0x30
+#define KIOC_ALTGMASK 0x200
+#define KIOC_NUMLMASK 0x800
#define HOLE 0x302 /* value for kio_entry to say `really type 3' */
@@ -101,8 +101,8 @@ struct kiockey {
#define KIOCCMD _IOW('k', 8, int) /* X uses this to ring bell */
#define KIOCTYPE _IOR('k', 9, int) /* get keyboard type */
#define KIOCSDIRECT _IOW('k', 10, int) /* keys to console? */
-#define KIOCSKEY _IOW('k', 12, struct kiockey) /* set xlat mode */
-#define KIOCGKEY _IOWR('k', 13, struct kiockey) /* get xlat mode */
+#define KIOCSKEY _IOW('k', 12, struct kiockey) /* set xlat mode */
+#define KIOCGKEY _IOWR('k', 13, struct kiockey) /* get xlat mode */
#define KIOCLAYOUT _IOR('k', 20, int) /* get keyboard layout */
#define KIOCSLED _IOW('k', 14, char) /* set LED state */
#define KIOCGLED _IOR('k', 15, char) /* get LED state */