diff --git a/sys/arch/amiga/dev/grf.c b/sys/arch/amiga/dev/grf.c index adb8389999c0..9cb548b99233 100644 --- a/sys/arch/amiga/dev/grf.c +++ b/sys/arch/amiga/dev/grf.c @@ -1,4 +1,4 @@ -/* $NetBSD: grf.c,v 1.26 1996/04/21 21:11:07 veego Exp $ */ +/* $NetBSD: grf.c,v 1.27 1996/05/19 20:06:20 is Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -62,6 +62,7 @@ #include #include #include +#include #include /* DEBUG */ #include #include @@ -278,6 +279,10 @@ grfioctl(dev, cmd, data, flag, p) * information for grf_ul. */ return(gp->g_mode(gp, GM_GRFIOCTL, data, cmd, dev)); + + case FBIOSVIDEO: + return(gp->g_mode(gp, GM_GRFIOCTL, data, GRFIOCBLANK, dev)); + default: #if NVIEW > 0 /* diff --git a/sys/arch/amiga/include/fbio.h b/sys/arch/amiga/include/fbio.h new file mode 100644 index 000000000000..2f6dd29abbb8 --- /dev/null +++ b/sys/arch/amiga/include/fbio.h @@ -0,0 +1,42 @@ +/* $NetBSD: fbio.h,v 1.1 1996/05/19 20:06:12 is Exp $ */ + +/* + * Copyright (c) 1996 Ignatios Souvatzis + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by Ignatios Souvatzis + * for the NetBSD project. + * 4. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +/* + * FBIO compatible video control. + */ +#define FBVIDEO_OFF 0 +#define FBVIDEO_ON 1 + +#define FBIOSVIDEO _IOW('F', 7, int) +#define FBIOGVIDEO _IOR('F', 8, int) diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index ad4196282204..6ea69f8cc430 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.61 1996/03/01 19:45:13 veego Exp $ +# $NetBSD: Makefile,v 1.62 1996/05/19 20:06:02 is Exp $ # from: @(#)Makefile 5.6.1.2 (Berkeley) 5/8/91 # not yet done: catman @@ -10,7 +10,8 @@ SUBDIR= ac accton arp bootpd bootpgw bootpef bootptest \ netgroup_mkdb portmap pppd pstat pwd_mkdb quot quotaon \ rarpd rbootd rdconfig rdate repquota rmt \ rpc.bootparamd rpc.pcnfsd rwhod \ - sa sendmail sliplogin slstats spray sysctl \ + sa sendmail sliplogin + slstats spray sysctl \ syslogd tcpdump timed traceroute trpt trsp update \ vipw vnconfig ypbind yppoll ypset zdump zic @@ -23,7 +24,7 @@ SUBDIR+=amd SUBDIR+=bad144 config.old dbsym eeprom grfconfig grfinfo hilinfo \ iteconfig screenblank videomode .elif ${MACHINE} == "amiga" -SUBDIR+=grfconfig iteconfig videomode +SUBDIR+=grfconfig iteconfig screenblank videomode .elif ${MACHINE} == "atari" SUBDIR+=iteconfig .elif ${MACHINE} == "hp300"