summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/zx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sbus/zx.c')
-rw-r--r--sys/dev/sbus/zx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/sbus/zx.c b/sys/dev/sbus/zx.c
index 43b8dfc409f..73f35c4912d 100644
--- a/sys/dev/sbus/zx.c
+++ b/sys/dev/sbus/zx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zx.c,v 1.12 2006/12/17 22:18:16 miod Exp $ */
+/* $OpenBSD: zx.c,v 1.13 2007/03/13 19:40:49 miod Exp $ */
/* $NetBSD: zx.c,v 1.5 2002/10/02 16:52:46 thorpej Exp $ */
/*
@@ -349,6 +349,9 @@ zx_ioctl(void *dev, u_long cmd, caddr_t data, int flags, struct proc *p)
wdf->depth = 32;
wdf->cmsize = 0;
break;
+ case WSDISPLAYIO_GETSUPPORTEDDEPTH:
+ *(u_int *)data = WSDISPLAYIO_DEPTH_24_32;
+ break;
case WSDISPLAYIO_LINEBYTES:
*(u_int *)data = sc->sc_sunfb.sf_linebytes;
break;