diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-05-27 16:12:12 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-05-27 16:12:12 +0000 |
commit | e3192e631799a77557e2983f37278648d6d2d438 (patch) | |
tree | 2b562a353e5bec3428f955daaa1cc010e885ceeb /sys | |
parent | f955750c37cc8364dc887f6b81890edc49537c6c (diff) |
implement WSDISPLAYIO_GETSUPPORTEDDEPTHS. ok miod@ uwe@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm/xscale/pxa2x0_lcd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_lcd.c b/sys/arch/arm/xscale/pxa2x0_lcd.c index ebf19167fb0..f38d5d9b4a2 100644 --- a/sys/arch/arm/xscale/pxa2x0_lcd.c +++ b/sys/arch/arm/xscale/pxa2x0_lcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxa2x0_lcd.c,v 1.21 2005/12/22 18:45:46 deraadt Exp $ */ +/* $OpenBSD: pxa2x0_lcd.c,v 1.22 2007/05/27 16:12:11 matthieu Exp $ */ /* $NetBSD: pxa2x0_lcd.c,v 1.8 2003/10/03 07:24:05 bsh Exp $ */ /* @@ -775,6 +775,10 @@ pxa2x0_lcd_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p) wsdisp_info->cmsize = 0; break; + case WSDISPLAYIO_GETSUPPORTEDDEPTH: + *(u_int *)data = WSDISPLAYIO_DEPTH_16; + break; + case WSDISPLAYIO_GETCMAP: case WSDISPLAYIO_PUTCMAP: return EINVAL; /* XXX Colormap */ |