diff options
author | 2007-05-27 16:12:11 +0000 | |
---|---|---|
committer | 2007-05-27 16:12:11 +0000 | |
commit | 7e8a85108011022eea65b5bde46e8eb72b8eb653 (patch) | |
tree | b8a15228e82775a8d4496c78eb687543763cf712 | |
parent | shrink the kernel for code that shouldn't be used anyway, ok kettenis@ (diff) | |
download | wireguard-openbsd-7e8a85108011022eea65b5bde46e8eb72b8eb653.tar.xz wireguard-openbsd-7e8a85108011022eea65b5bde46e8eb72b8eb653.zip |
implement WSDISPLAYIO_GETSUPPORTEDDEPTHS. ok miod@ uwe@
-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 */ |