diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc64/dev/creator.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/creator.c b/sys/arch/sparc64/dev/creator.c index 32d2abc7f5f..c9de9719a8a 100644 --- a/sys/arch/sparc64/dev/creator.c +++ b/sys/arch/sparc64/dev/creator.c @@ -1,4 +1,4 @@ -/* $OpenBSD: creator.c,v 1.38 2006/12/17 22:18:16 miod Exp $ */ +/* $OpenBSD: creator.c,v 1.39 2007/03/06 23:10:26 kettenis Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -241,6 +241,9 @@ creator_ioctl(v, cmd, data, flags, 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; |