NetBSD Problem Report #1614
From gnats Tue Oct 10 08:49:57 1995
Received: from uran.informatik.uni-bonn.de (uran.informatik.uni-bonn.de [131.220.8.49]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id IAA06767 for <gnats-bugs@gnats.netbsd.org>; Tue, 10 Oct 1995 08:49:52 -0400
Message-Id: <199510101149.MAA00639@beverly.rhein.de>
Date: Tue, 10 Oct 1995 12:49:30 +0100 (MET)
From: Ignatios Souvatzis <is@beverly.rhein.de>
Reply-To: is@beverly.rhein.de
To: gnats-bugs@gnats.netbsd.org
Subject: Amiga MAKEDEV should make image and overlay devices
X-Send-Pr-Version: 3.95
>Number: 1614
>Category: port-amiga
>Synopsis: Amiga MAKEDEV should make image and overlay devices
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Oct 17 14:23:28 +0000 1995
>Closed-Date: Fri Oct 20 10:20:20 +0000 1995
>Last-Modified: Fri Oct 20 10:29:23 +0000 1995
>Originator: Ignatios Souvatzis
>Release: 950930
>Organization:
none
>Environment:
System: NetBSD beverly 1.0A NetBSD 1.0A (BEVERLY) #234: Tue Oct 10 11:21:39 MET 1995 is@beverly:/usr/src/sys/arch/amiga/compile/BEVERLY amiga
>Description:
The Amiga /dev/grfN drivers support, in theory, overlay planes in
addition to the main image plain through minor device number bits
0x10 (overlay plane) and 0x20 (image plain). The A2410 driver
(sys/arch/amiga/dev/grf_ul.c) supports the hardware's overlay planes
through this interface, e.g., for switching the graphics planes on/off
(GRFIOCGRON/OFF) and for the respective palette settings.
However, MAKEDEV does not yet create the necessary /dev entries.
>How-To-Repeat:
cd /dev; MAKEDEV grf4; ls -lg grf* | grep '10, 20'
>Fix:
I propose to add /dev/grfimN and /dev/grfovN using this addition to MAKEDEV.
It only creates overlay and image device nodes for drivers which support it
through a seperate case statement.
Index: MAKEDEV
===================================================================
RCS file: /monster/cvs/src/etc/etc.amiga/MAKEDEV,v
retrieving revision 1.1.1.1
diff -c -b -r1.1.1.1 MAKEDEV
*** MAKEDEV 1995/10/03 19:09:40 1.1.1.1
--- MAKEDEV 1995/10/10 11:46:02
***************
*** 330,335 ****
--- 330,345 ----
;;
*)
echo bad unit for grf in: $i
+ ;;
+ esac
+ # for those that need it, also make overlay and image devices:
+ rm -f grfov${unit} grfim${unit}
+ case $unit in
+ 4)
+ unitov=`expr $unit + 16`
+ unitim=`expr $unit + 32`
+ mknod grfov${unit} c 10 ${unitov}; chmod 666 grf${unitov}
+ mknod grfim${unit} c 10 ${unitim}; chmod 666 grf${unitim}
;;
esac
;;
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: chopps
State-Changed-When: Fri Oct 20 06:20:20 EDT 1995
State-Changed-Why:
added (modified patch to work)
>Unformatted:
Ignatios Souvatzis
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.