Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/etc.i386 Make radio devices.
details: https://anonhg.NetBSD.org/src/rev/eb58245bc226
branches: trunk
changeset: 520040:eb58245bc226
user: augustss <augustss%NetBSD.org@localhost>
date: Tue Jan 01 22:49:32 2002 +0000
description:
Make radio devices.
diffstat:
etc/etc.i386/MAKEDEV | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
diffs (57 lines):
diff -r d6969223d907 -r eb58245bc226 etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV Tue Jan 01 22:48:18 2002 +0000
+++ b/etc/etc.i386/MAKEDEV Tue Jan 01 22:49:32 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.152 2001/12/19 18:30:02 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.153 2002/01/01 22:49:32 augustss Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -133,6 +133,7 @@
# agp* AGP GART devices
# pci* PCI bus access devices
# dpti* DPT/Adaptec RAID management interface
+# audio* radio devices
#
dialin=0
@@ -170,6 +171,7 @@
sh $0 speaker lkm mms0 lms0 pms0 joy0 joy1 apm local satlink0 iop0 mlx0
sh $0 mly0
sh $0 audio
+ sh $0 radio
sh $0 usbs
sh $0 isdn
sh $0 music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
@@ -194,6 +196,11 @@
ln -fs audioctl0 audioctl
;;
+radio)
+ sh $0 radio0 radio1
+ ln -fs radio0 radio
+ ;;
+
floppy)
sh $0 std wt0 fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4 tty0 tty1 tty2
sh $0 st0 st1 cd0 cd1 mcd0 ttyv0 pty0 ld0 ld1 ld2 ld3 ed0 ed1
@@ -739,6 +746,17 @@
chmod 666 $music $sequencer
;;
+radio*)
+ unit=${i#radio}
+ radio=radio$unit
+ major=87
+ if [ "$unit" = "" ]; then unit=0; fi
+ rm -f $radio
+ mknod $radio c $major $unit
+ chown root.wheel $radio
+ chmod 666 $radio
+ ;;
+
apm*)
rm -f apm apmctl
mknod apm c 21 0
Home |
Main Index |
Thread Index |
Old Index