Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Remove "spif[0-9]*" case from ports other than sparc{, 64...
details: https://anonhg.NetBSD.org/src/rev/fa0ae9ad932a
branches: trunk
changeset: 773634:fa0ae9ad932a
user: nakayama <nakayama%NetBSD.org@localhost>
date: Fri Feb 10 20:54:11 2012 +0000
description:
Remove "spif[0-9]*" case from ports other than sparc{,64} by using
%stty_chr% and %sbpp_chr%.
Fix "MAKEDEV: bpp: unknown device" error on sparc{,64}, which is
observed in PR toolchain/45620 but not the fix.
Approved by releng.
diffstat:
etc/MAKEDEV.tmpl | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r f1f9dc195482 -r fa0ae9ad932a etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl Fri Feb 10 17:35:47 2012 +0000
+++ b/etc/MAKEDEV.tmpl Fri Feb 10 20:54:11 2012 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV.tmpl,v 1.150 2012/01/22 06:44:29 christos Exp $
+# $NetBSD: MAKEDEV.tmpl,v 1.151 2012/02/10 20:54:11 nakayama Exp $
#
# Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1996,13 +1996,13 @@
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
+ mkdev ttyS$unit$j c %stty_chr% $(($unit * 64 + $j)) "" "" $u_uucp
done
- mkdev bppS${unit}0 c 103 $(($unit * 64 + 0))
- mkdev bppS${unit}1 c 103 $(($unit * 64 + 1))
+ mkdev bppS${unit}0 c %sbpp_chr% $(($unit * 64 + 0))
+ mkdev bppS${unit}1 c %sbpp_chr% $(($unit * 64 + 1))
;;
-bpp[0-9]*)
+bpp|bpp[0-9]*)
unit=${i#bpp}
mkdev bpp$unit c %bpp_chr% $(($unit + 0))
;;
Home |
Main Index |
Thread Index |
Old Index