From e375c956b03f3921f222598f5bc28a44268826b3 Mon Sep 17 00:00:00 2001 From: yokota Date: Tue, 10 Jul 2001 14:13:34 +0000 Subject: Fix dependencies between kernel options: - When both SC_PIXEL_MODE and SC_NO_FONT_LOADING are defined, quietly drop SC_NO_FONT_LOADING, because the pixel(raster) console requires font. - When SC_NO_FONT_LOADING is defined, force SC_ALT_MOUSE_IMAGE. Without font, the arrow-shaped mouse cursor cannot be drawn. - Fiddle and simplify some internal macros. MFC after: 2 weeks --- sys/dev/syscons/scmouse.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/syscons/scmouse.c') diff --git a/sys/dev/syscons/scmouse.c b/sys/dev/syscons/scmouse.c index 7d4180e..b8bb5d1 100644 --- a/sys/dev/syscons/scmouse.c +++ b/sys/dev/syscons/scmouse.c @@ -669,8 +669,6 @@ sc_mouse_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, return 0; case MOUSE_SHOW: - if (!ISMOUSEAVAIL(scp->sc->adp->va_flags)) - return EINVAL; s = spltty(); if (!(scp->sc->flags & SC_MOUSE_ENABLED)) { scp->sc->flags |= SC_MOUSE_ENABLED; -- cgit v1.1