summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-01-09 21:52:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-01-09 21:52:13 +0000
commit359511731a3d6745a36ce439977017c551795a88 (patch)
tree191df327b5ca2efd0c04e4cb55f039542367a75c /sys/arch
parent16c1fc8fb8468cd6d1006bdd325f7ca7c1cee280 (diff)
Introduce a wsdisplay type for mac68k frame buffers; we might need to become
less generic in the future, though.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mac68k/dev/macfb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/macfb.c b/sys/arch/mac68k/dev/macfb.c
index 580788718b8..ecd49508841 100644
--- a/sys/arch/mac68k/dev/macfb.c
+++ b/sys/arch/mac68k/dev/macfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macfb.c,v 1.6 2006/01/09 20:51:48 miod Exp $ */
+/* $OpenBSD: macfb.c,v 1.7 2006/01/09 21:52:12 miod Exp $ */
/* $NetBSD: macfb.c,v 1.11 2005/01/15 16:00:59 chs Exp $ */
/*
* Copyright (c) 1998 Matt DeBergalis
@@ -262,7 +262,7 @@ macfb_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(int *)data = 0; /* XXX */
+ *(int *)data = WSDISPLAY_TYPE_MAC68K;
break;
case WSDISPLAYIO_GINFO: