diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-03-06 23:10:27 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-03-06 23:10:27 +0000 |
commit | 4539f029e97c421ad749a389a714d1a2a82155ee (patch) | |
tree | 6024fd2528544b8faa37a28debebe58b494d5d04 | |
parent | 4fce25dbf9d42f294283fb314e2ce8fc75c47abb (diff) |
Implement WSDISPLAYIO_GETSUPPORTEDDEPTH; makes X actually work if you follow
the instructions in /usr/X11R6/README.
-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; |