Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc add an entry for spif(4).
details: https://anonhg.NetBSD.org/src/rev/e6a2268e7d07
branches: trunk
changeset: 568808:e6a2268e7d07
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Aug 01 10:43:47 2004 +0000
description:
add an entry for spif(4).
this uses a different name for the parallel ports than the openbsd
port otherwise they conflict with the magma parallel ports and you
would be unable to have both a spif and magma installed at the
same time.
diffstat:
etc/MAKEDEV.tmpl | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r f7191e7580a8 -r e6a2268e7d07 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl Sun Aug 01 10:38:38 2004 +0000
+++ b/etc/MAKEDEV.tmpl Sun Aug 01 10:43:47 2004 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV.tmpl,v 1.26 2004/06/19 05:31:50 christos Exp $
+# $NetBSD: MAKEDEV.tmpl,v 1.27 2004/08/01 10:43:47 mrg Exp $
#
# Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1395,6 +1395,19 @@
done
;;
+spif*)
+ unit=${i#spif}
+ if [ 0$unit -gt 3 ]; then
+ warn "bad unit for $i: $unit"
+ break
+ fi
+ for j in 0 1 2 3 4 5 6 7; do
+ mkdev ttyS$unit$j c 102 $(($unit * 64 + $j)) "" "" $u_uucp
+ done
+ mkdev bppS${unit}0 c 103 $(($unit * 64 + 0))
+ mkdev bppS${unit}1 c 103 $(($unit * 64 + 1))
+ ;;
+
bpp*)
unit=${i#bpp}
mkdev bpp$unit c %bpp_chr% $(($unit + 0))
Home |
Main Index |
Thread Index |
Old Index