From 59a63c994719f3dfcf7d2abef9f51353b7347f86 Mon Sep 17 00:00:00 2001 From: yokota Date: Thu, 2 Aug 2001 11:26:30 +0000 Subject: Add FBIO_BLANK ioctl support. Return ENODEV for yet-to-be- supported ioctls for now. --- sys/dev/fb/fb.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sys/dev/fb') diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c index 056988d..75d9b44 100644 --- a/sys/dev/fb/fb.c +++ b/sys/dev/fb/fb.c @@ -799,12 +799,18 @@ fb_commonioctl(video_adapter_t *adp, u_long cmd, caddr_t arg) *(u_int *)arg = adp->va_line_width; break; + case FBIO_BLANK: /* blank display */ + error = (*vidsw[adp->va_index]->blank_display)(adp, *(int *)arg); + break; + case FBIO_GETPALETTE: /* get color palette */ case FBIO_SETPALETTE: /* set color palette */ /* XXX */ case FBIOPUTCMAP: case FBIOGETCMAP: + case FBIOPUTCMAPI: + case FBIOGETCMAPI: /* XXX */ case FBIO_SETWINORG: /* set frame buffer window origin */ @@ -815,11 +821,14 @@ fb_commonioctl(video_adapter_t *adp, u_long cmd, caddr_t arg) case FBIOGATTR: case FBIOSVIDEO: case FBIOGVIDEO: + case FBIOVERTICAL: case FBIOSCURSOR: case FBIOGCURSOR: case FBIOSCURPOS: case FBIOGCURPOS: case FBIOGCURMAX: + case FBIOMONINFO: + case FBIOGXINFO: default: error = ENODEV; -- cgit v1.1