Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.i386 add devices for bktr; also add them to all target



details:   https://anonhg.NetBSD.org/src/rev/877f93220c0f
branches:  trunk
changeset: 485845:877f93220c0f
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun May 07 01:39:27 2000 +0000

description:
add devices for bktr; also add them to all target

diffstat:

 etc/etc.i386/MAKEDEV |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r 15389c06d68f -r 877f93220c0f etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV      Sun May 07 01:38:36 2000 +0000
+++ b/etc/etc.i386/MAKEDEV      Sun May 07 01:39:27 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.109 2000/05/02 12:01:13 augustss Exp $
+#      $NetBSD: MAKEDEV,v 1.110 2000/05/07 01:39:27 wiz Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -106,6 +106,7 @@
 #      ch*     SCSI changer
 #      cfs*    Coda file system device
 #      lm      LM7[89] hardware monitor
+#      bktr*   Brooktree 848/849/878/879 based TV cards
 #
 
 dialin=0
@@ -146,6 +147,7 @@
        sh $0 wscons
        sh $0 ca0 ca1 ca2 ca3
        sh $0 lm0
+       sh $0 bktr0
        ;;
 
 audio)
@@ -651,6 +653,16 @@
        chmod 644 scsibus$unit
        ;;
 
+bktr*)
+       unit=${i#bktr}
+       rm -f bktr$unit tuner$unit vbi$unit
+       mknod bktr$unit c 71 $(($unit + 0))
+       mknod tuner$unit c 71 $(($unit + 16))
+       mknod vbi$unit c 71 $(($unit + 32))
+       chown root.wheel bktr$unit tuner$unit vbi$unit
+       chmod 444 bktr$unit tuner$unit vbi$unit
+       ;;
+
 local)
        umask 0
        sh $0.local all



Home | Main Index | Thread Index | Old Index