Enable ioctls to manipulate color palette. They have been implemented,

but disabled until now...
This commit is contained in:
yokota 1999-09-02 08:09:13 +00:00
parent 6246c32f6a
commit ddae9b03e0

View File

@ -598,13 +598,10 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct proc *p)
return ENODEV; /* XXX */ return ENODEV; /* XXX */
return fb_ioctl(adp, cmd, data); return fb_ioctl(adp, cmd, data);
/* XXX */
case FBIO_GETPALETTE: case FBIO_GETPALETTE:
case FBIO_SETPALETTE: case FBIO_SETPALETTE:
case FBIOPUTCMAP: case FBIOPUTCMAP:
case FBIOGETCMAP: case FBIOGETCMAP:
return ENODEV;
case FBIOGTYPE: case FBIOGTYPE:
case FBIOGATTR: case FBIOGATTR:
case FBIOSVIDEO: case FBIOSVIDEO: