summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-06-02 04:53:58 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-06-02 04:53:58 +0000
commit407bab894317dd6e751ad93fdc1dd4135665df59 (patch)
tree502deeeaf6b9fdb20a89eef8935e1eac75641317 /sys/arch/sparc64
parent104eda389186a5bffb50c6771eaeb9dde503bd3b (diff)
Define a proper wsdisplay type for machfb(4).
requested by miod@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/machfb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/machfb.c b/sys/arch/sparc64/dev/machfb.c
index 016c204da9c..0968c7e6d0e 100644
--- a/sys/arch/sparc64/dev/machfb.c
+++ b/sys/arch/sparc64/dev/machfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machfb.c,v 1.2 2009/06/02 04:47:04 kettenis Exp $ */
+/* $OpenBSD: machfb.c,v 1.3 2009/06/02 04:53:57 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis.
@@ -338,7 +338,7 @@ machfb_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_MACHFB;
break;
case WSDISPLAYIO_SMODE:
sc->sc_mode = *(u_int *)data;