From eac47d67be0b551ce16e2813908af8c097fdd0ef Mon Sep 17 00:00:00 2001 From: Kazutaka 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/syscons/scvidctl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/dev/syscons') diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c index 72dc7db13045..b75e545879b3 100644 --- a/sys/dev/syscons/scvidctl.c +++ b/sys/dev/syscons/scvidctl.c @@ -581,6 +581,11 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct proc *p) return ENODEV; /* XXX */ return fb_ioctl(adp, cmd, data); + case FBIO_BLANK: + if (scp != scp->sc->cur_scp) + return ENODEV; /* XXX */ + return fb_ioctl(adp, cmd, data); + #ifndef SC_NO_MODE_CHANGE /* generic text modes */ case SW_TEXT_80x25: case SW_TEXT_80x30: -- cgit v1.3