summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorpetrov <petrov@NetBSD.org>2003-06-03 06:48:12 +0000
committerpetrov <petrov@NetBSD.org>2003-06-03 06:48:12 +0000
commit78fc8fd68fabe5fa9af986fc0dccdb7015314014 (patch)
tree8dcd6b8848205124f21577b36b24669874f537cb /sys
parentf858b1eac4a83a102523b24095cea45eb97e0cc6 (diff)
Add sun keyboards and display.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wscons/wsconsio.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index 91567870489..6f964e4f76d 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wsconsio.h,v 1.57 2003/02/10 14:28:22 jdolecek Exp $ */
+/* $NetBSD: wsconsio.h,v 1.58 2003/06/03 06:48:12 petrov Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -94,6 +94,8 @@ struct wscons_event {
#define WSKBD_TYPE_AMIGA 13 /* Amiga keyboard */
#define WSKBD_TYPE_MAPLE 14 /* Dreamcast Maple keyboard */
#define WSKBD_TYPE_ATARI 15 /* Atari keyboard */
+#define WSKBD_TYPE_SUN 16 /* Sun Type3/4 */
+#define WSKBD_TYPE_SUN5 17 /* Sun Type5 */
/* Manipulate the keyboard bell. */
struct wskbd_bell_data {
@@ -257,6 +259,7 @@ struct wsmouse_id {
#define WSDISPLAY_TYPE_TIGER 30 /* HP Tiger */
#define WSDISPLAY_TYPE_HYPERION 31 /* HP Hyperion */
#define WSDISPLAY_TYPE_AMIGACC 32 /* Amiga custom chips */
+#define WSDISPLAY_TYPE_SUN24 33 /* Sun 24 bit framebuffers */
/* Basic display information. Not applicable to all display types. */
struct wsdisplay_fbinfo {
@@ -324,7 +327,6 @@ struct wsdisplay_cursor {
#define WSDISPLAYIO_MODE_MAPPED 1 /* mapped (graphics) mode */
-
/*
* XXX WARNING
* XXX The following wsdisplay definitions are very preliminary and are likely
@@ -403,7 +405,6 @@ struct wsdisplay_char {
#define WSDISPLAYIO_GETWSCHAR _IOWR('W', 85, struct wsdisplay_char)
#define WSDISPLAYIO_PUTWSCHAR _IOWR('W', 86, struct wsdisplay_char)
-
/* XXX NOT YET DEFINED */
/* Mapping information retrieval. */