Source-Changes-HG archive

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

[src/trunk]: src Clean up pow(4) (which I had removed in Nov 2011).



details:   https://anonhg.NetBSD.org/src/rev/a58b31c2de2e
branches:  trunk
changeset: 772903:a58b31c2de2e
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sat Jan 21 02:52:50 2012 +0000

description:
Clean up pow(4) (which I had removed in Nov 2011).

diffstat:

 etc/MAKEDEV.tmpl          |  18 +-----------------
 etc/etc.x68k/MAKEDEV.conf |   4 ++--
 share/man/man8/MAKEDEV.8  |   6 ++----
 3 files changed, 5 insertions(+), 23 deletions(-)

diffs (88 lines):

diff -r cf6672d804f4 -r a58b31c2de2e etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl  Fri Jan 20 23:13:47 2012 +0000
+++ b/etc/MAKEDEV.tmpl  Sat Jan 21 02:52:50 2012 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV.tmpl,v 1.148 2011/11/19 16:41:55 agc Exp $
+#      $NetBSD: MAKEDEV.tmpl,v 1.149 2012/01/21 02:52:50 isaki Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -262,7 +262,6 @@
 #      pad*    Pseudo-audio device driver
 #      pci*    PCI bus access devices
 #      pf      PF packet filter
-#      pow*    power management device (x68k)
 #      putter  Pass-to-Userspace Transporter
 #      px*     PixelStamp Xserver access
 #      radio*  radio devices
@@ -2022,21 +2021,6 @@
        mkdev sram c %sram_chr% 0 644
        ;;
 
-pow[0-9]*)
-       unit=${i#pow}
-       case $unit in
-       0|1)
-               mkdev pow${unit} c %pow_chr% ${unit} 644
-               if [ $unit = 0 ]; then
-                       lndev pow${unit} pow
-               fi
-               ;;
-       *)
-               warn "bad unit for pow in: $i"
-               ;;
-       esac
-       ;;
-
 ttyS[0-9]*)
        unit=${i#ttyS}
        mkdev ttyS$unit c %sacom_chr% $(($unit + $dialin )) "" "" $u_uucp
diff -r cf6672d804f4 -r a58b31c2de2e etc/etc.x68k/MAKEDEV.conf
--- a/etc/etc.x68k/MAKEDEV.conf Fri Jan 20 23:13:47 2012 +0000
+++ b/etc/etc.x68k/MAKEDEV.conf Sat Jan 21 02:52:50 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MAKEDEV.conf,v 1.11 2011/10/11 12:08:20 tsutsui Exp $
+# $NetBSD: MAKEDEV.conf,v 1.12 2012/01/21 02:52:50 isaki Exp $
 
 all_md)
        makedev std_x68k st0 st1 ttye0 ttye1 mouse0 mouse1
@@ -7,7 +7,7 @@
        makedev vnd4 vnd5 vnd6
        makedev cd0 ss0 fd0 fd1 fd2 fd3
        makedev par0
-       makedev sram audio pow0 bell
+       makedev sram audio bell
        makedev bmd0 bmd1 ch0 uk0 uk1 ss0
        makedev scsibus0 scsibus1 scsibus2 scsibus3
        makedev ses0 ses1 ses2 ses3
diff -r cf6672d804f4 -r a58b31c2de2e share/man/man8/MAKEDEV.8
--- a/share/man/man8/MAKEDEV.8  Fri Jan 20 23:13:47 2012 +0000
+++ b/share/man/man8/MAKEDEV.8  Sat Jan 21 02:52:50 2012 +0000
@@ -6,7 +6,7 @@
 .\" *** DO NOT EDIT - any changes will be lost!!!
 .\" *** ------------------------------------------------------------------
 .\"
-.\" $NetBSD: MAKEDEV.8,v 1.42 2011/12/02 08:50:18 njoly Exp $
+.\" $NetBSD: MAKEDEV.8,v 1.43 2012/01/21 02:52:50 isaki Exp $
 .\"
 .\" Copyright (c) 2001, 2003, 2007, 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -35,7 +35,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December  2, 2011
+.Dd January 21, 2012
 .Dt MAKEDEV 8
 .Os
 .Sh NAME
@@ -798,8 +798,6 @@
 .Xr \&pci 4
 . It Ar pf
 PF packet filter
-. It Ar pow#
-Power management device (x68k)
 . It Ar putter
 Pass-to-Userspace Transporter
 . It Ar px#



Home | Main Index | Thread Index | Old Index