summaryrefslogtreecommitdiff
path: root/sys/dev/fb
diff options
context:
space:
mode:
authorKazutaka YOKOTA <yokota@FreeBSD.org>2001-08-02 11:26:30 +0000
committerKazutaka YOKOTA <yokota@FreeBSD.org>2001-08-02 11:26:30 +0000
commiteac47d67be0b551ce16e2813908af8c097fdd0ef (patch)
treeb6e92c570ee1a5833ef8e6ebfce593747ab4debb /sys/dev/fb
parent6d1699583d7e8dd850610054f878d4d180a43681 (diff)
Notes
Diffstat (limited to 'sys/dev/fb')
-rw-r--r--sys/dev/fb/fb.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c
index 056988dc02b5..75d9b44bd81e 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;