diff options
author | yokota <yokota@FreeBSD.org> | 2001-08-02 11:26:30 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 2001-08-02 11:26:30 +0000 |
commit | 59a63c994719f3dfcf7d2abef9f51353b7347f86 (patch) | |
tree | b6e92c570ee1a5833ef8e6ebfce593747ab4debb /sys/dev/fb | |
parent | cf9ff167def1584f5e10b22e728e45e49132834c (diff) | |
download | FreeBSD-src-59a63c994719f3dfcf7d2abef9f51353b7347f86.zip FreeBSD-src-59a63c994719f3dfcf7d2abef9f51353b7347f86.tar.gz |
Add FBIO_BLANK ioctl support. Return ENODEV for yet-to-be-
supported ioctls for now.
Diffstat (limited to 'sys/dev/fb')
-rw-r--r-- | sys/dev/fb/fb.c | 9 |
1 files changed, 9 insertions, 0 deletions
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; |