diff options
author | 2006-02-14 18:52:15 +0000 | |
---|---|---|
committer | 2006-02-14 18:52:15 +0000 | |
commit | c6011db6e79b9e97547f071be6fd7b9b865c012a (patch) | |
tree | c49e59eedb014eff8a334dbdab904be1954960c5 | |
parent | Fix <=4bpp buglet introduced in previous commit; non-hyperion frame buffers (diff) | |
download | wireguard-openbsd-c6011db6e79b9e97547f071be6fd7b9b865c012a.tar.xz wireguard-openbsd-c6011db6e79b9e97547f071be6fd7b9b865c012a.zip |
Define a wsdisplay type for the Sun ZX/Leo frame buffer.
-rw-r--r-- | sbin/wsconsctl/util.c | 5 | ||||
-rw-r--r-- | sys/dev/wscons/wsconsio.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sbin/wsconsctl/util.c b/sbin/wsconsctl/util.c index 7a09b132eda..80d451feb9a 100644 --- a/sbin/wsconsctl/util.c +++ b/sbin/wsconsctl/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.31 2006/01/09 21:52:09 miod Exp $ */ +/* $OpenBSD: util.c,v 1.32 2006/02/14 18:52:15 miod Exp $ */ /* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */ /*- @@ -140,7 +140,8 @@ static const struct nameint dpytype_tab[] = { { WSDISPLAY_TYPE_HYPERION, "hyperion" }, { WSDISPLAY_TYPE_TOPCAT, "topcat" }, { WSDISPLAY_TYPE_PXALCD, "pxalcd" }, - { WSDISPLAY_TYPE_MAC68K, "mac68k" } + { WSDISPLAY_TYPE_MAC68K, "mac68k" }, + { WSDISPLAY_TYPE_SUNLEO, "sunleo" } }; static const struct nameint kbdenc_tab[] = { diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h index 39bd7c2cea1..1f8a6632986 100644 --- a/sys/dev/wscons/wsconsio.h +++ b/sys/dev/wscons/wsconsio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsio.h,v 1.37 2006/01/09 21:52:12 miod Exp $ */ +/* $OpenBSD: wsconsio.h,v 1.38 2006/02/14 18:52:17 miod Exp $ */ /* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */ /* @@ -287,6 +287,7 @@ struct wsmouse_calibcoords { #define WSDISPLAY_TYPE_TOPCAT 47 /* HP Topcat */ #define WSDISPLAY_TYPE_PXALCD 48 /* PXALCD (Zaurus) */ #define WSDISPLAY_TYPE_MAC68K 49 /* Generic mac68k framebuffer */ +#define WSDISPLAY_TYPE_SUNLEO 50 /* Sun ZX/Leo */ /* Basic display information. Not applicable to all display types. */ struct wsdisplay_fbinfo { |