Subject: port-atari/6539: Supported device "leo0" is not created by the atari MAKEDEV script
To: None <gnats-bugs@gnats.netbsd.org>
From: maximum entropy <entropy@seki.bernstein.com>
List: netbsd-bugs
Date: 12/06/1998 02:56:00
>Number:         6539
>Category:       port-atari
>Synopsis:       Supported device "leo0" is not created by the atari MAKEDEV script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec  6 04:05:00 1998
>Last-Modified:
>Originator:     maximum entropy
>Organization:
	
>Release:        <NetBSD-current source date> current
>Environment:
	
System: NetBSD seki.bernstein.com 1.3I NetBSD 1.3I (SEKI) #1: Wed Dec 2 16:27:40 EST 1998 root@seki.bernstein.com:/usr2/src/sys/arch/atari/compile/SEKI atari


>Description:
	
Supported device "leo0" is not created by the atari MAKEDEV script.  I should have changed
MAKEDEV when I submitted the driver.
>How-To-Repeat:
	

Not applicable.

>Fix:
	

--- /usr/src/etc/etc.atari/MAKEDEV-orig	Fri Nov 13 07:10:01 1998
+++ /usr/src/etc/etc.atari/MAKEDEV	Sun Dec  6 02:43:11 1998
@@ -93,6 +93,7 @@
 #
 # Video devices:
 #	etvme	Tseng et-compatible cards on VME
+#	leo	Circad Leonardo VME-bus true color
 #
 
 #
@@ -108,7 +109,7 @@
 case $i in
 all)
 	sh $0 std fd st0 ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 grf0 grf1
-	sh $0 grf2 grf3 grf4 grf5 mouse0 mouse1 rtc random etvme
+	sh $0 grf2 grf3 grf4 grf5 mouse0 mouse1 rtc random etvme leo0
 	sh $0 kbd sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 vnd0 vnd1 vnd2
 	sh $0 vnd3 vnd4 view00 view01 view02 view03 view04 view05 pty0 
 	sh $0 vnd5 vnd6 cd0 fd0 fd1 fd2 fd3 bpf0 bpf1 bpf2 bpf3 ipl
@@ -488,6 +489,14 @@
 	mknod etvme c 40 0
 	chown root.wheel etvme
 	chmod 600 etvme
+	;;
+
+leo*)
+	unit=${i#leo};
+	rm -f leo$unit
+	mknod leo$unit c 39 $unit
+	chown root:wheel leo$unit
+	chmod 600 leo$unit
 	;;
 
 scsibus*)
>Audit-Trail:
>Unformatted: