From 47cad643f9a851efbf72daa92b27df93300df1f5 Mon Sep 17 00:00:00 2001 From: augustss Date: Sun, 2 Dec 2001 10:50:26 +0000 Subject: [PATCH] Make cir and irframe. --- etc/etc.i386/MAKEDEV | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 3975e93cf7bf..6377cdf3f6f4 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.150 2001/11/15 22:16:19 augustss Exp $ +# $NetBSD: MAKEDEV,v 1.151 2001/12/02 10:50:26 augustss Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -104,7 +104,9 @@ # Special purpose devices: # fd file descriptors # bpf* packet filter +# cir* Consumer IR # ipl IP filter +# irframe* IrDA physical frame # random Random number generator, see rnd(4) # speaker pc speaker (XXX - installed) # lkm loadable kernel modules interface @@ -181,6 +183,7 @@ all) sh $0 pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7 sh $0 altq sh $0 ed0 ed1 + sh $0 cir0 cir1 irframe0 irframe1 ;; audio) @@ -916,6 +919,26 @@ wsfont) chmod 600 wsfont ;; +cir*) + unit=${i#cir} + cir=cir$unit + major=86 + rm -f $cir + mknod $cir c $major $unit + chown root.wheel $cir + chmod 666 $cir + ;; + +irframe*) + unit=${i#irframe} + irframe=irframe$unit + major=85 + rm -f $irframe + mknod $irframe c $major $unit + chown root.wheel $irframe + chmod 600 $irframe + ;; + local) umask 0 sh $0.local all