summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/ifb.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-12-29 22:25:17 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-12-29 22:25:17 +0000
commit6abfdf50114371528040e5b8090ff9ed9cec0f34 (patch)
tree54fc508ffe183a79ae1c00d1483fb17747d401dc /sys/arch/sparc64/dev/ifb.c
parentb00c90210f261c8640896650107a2d2de139910e (diff)
Give ifb its own display type (be sure to make includes before rebuilding
wsconsctl)
Diffstat (limited to 'sys/arch/sparc64/dev/ifb.c')
-rw-r--r--sys/arch/sparc64/dev/ifb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/ifb.c b/sys/arch/sparc64/dev/ifb.c
index e5d4bd8bbae..a125e96414a 100644
--- a/sys/arch/sparc64/dev/ifb.c
+++ b/sys/arch/sparc64/dev/ifb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifb.c,v 1.10 2008/12/29 22:07:35 miod Exp $ */
+/* $OpenBSD: ifb.c,v 1.11 2008/12/29 22:25:16 miod Exp $ */
/*
* Copyright (c) 2007, 2008 Miodrag Vallat.
@@ -363,7 +363,7 @@ ifb_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_IFB;
break;
case WSDISPLAYIO_SMODE: