Source-Changes-HG archive

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

[src/trunk]: src Add srt(4) to /etc/MAKEDEV and corresponding update to MAKED...



details:   https://anonhg.NetBSD.org/src/rev/97d073421c51
branches:  trunk
changeset: 449842:97d073421c51
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Mar 26 09:13:55 2019 +0000

description:
Add srt(4) to /etc/MAKEDEV and corresponding update to MAKEDEV.8 man page.

diffstat:

 etc/MAKEDEV.tmpl         |  9 ++++++++-
 share/man/man8/MAKEDEV.8 |  9 +++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

diffs (73 lines):

diff -r a9d58b5dcae9 -r 97d073421c51 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl  Tue Mar 26 08:56:17 2019 +0000
+++ b/etc/MAKEDEV.tmpl  Tue Mar 26 09:13:55 2019 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV.tmpl,v 1.199 2019/02/23 10:43:25 mlelstv Exp $
+#      $NetBSD: MAKEDEV.tmpl,v 1.200 2019/03/26 09:13:55 pgoyette Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -274,6 +274,7 @@
 #      speaker PC speaker              (XXX - installed)
 #      spi*    SPI bus device
 #      sram    battery backuped memory (x68k)
+#      srt*    source-address based routing
 #      ss*     SCSI scanner
 #      stic*   PixelStamp interface chip
 #      sysmon  System Monitoring hardware
@@ -821,6 +822,7 @@
        makedev ipl pf crypto random
        makedev lockstat clockctl cpuctl
        makedev atabus0 atabus1 atabus2 atabus3 atabus4 atabus5 atabus6 atabus7
+       makedev srt0 srt1 srt2 srt3
        makedev tap tap0 tap1 tap2 tap3
        makedev gpio gpio0 gpio1 gpio2 gpio3 gpio4 gpio5 gpio6 gpio7
        makedev gpiopps0
@@ -2148,6 +2150,11 @@
        esac
        ;;
 
+srt[0-9]*)
+       unit=${i#srt}
+       mkdev srt$unit c %srt_chr% $unit 600
+       ;;
+
 tpm)
        mkdev tpm c %tpm_chr% 0 600
        ;;
diff -r a9d58b5dcae9 -r 97d073421c51 share/man/man8/MAKEDEV.8
--- a/share/man/man8/MAKEDEV.8  Tue Mar 26 08:56:17 2019 +0000
+++ b/share/man/man8/MAKEDEV.8  Tue Mar 26 09:13:55 2019 +0000
@@ -6,7 +6,7 @@
 .\" *** DO NOT EDIT - any changes will be lost!!!
 .\" *** ------------------------------------------------------------------
 .\"
-.\" $NetBSD: MAKEDEV.8,v 1.53 2019/01/27 08:57:04 maxv Exp $
+.\" $NetBSD: MAKEDEV.8,v 1.54 2019/03/26 09:13:55 pgoyette 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 January 27, 2019
+.Dd March 26, 2019
 .Dt MAKEDEV 8
 .Os
 .Sh NAME
@@ -826,8 +826,13 @@
 . It Ar speaker
 PC speaker, see
 .Xr \&speaker 4
+. It Ar spi#
+SPI bus device, see
+.Xr \&spi 4
 . It Ar sram
 Battery backuped memory (x68k)
+. It Ar srt#
+Source-address based routing
 . It Ar ss#
 SCSI scanner, see
 .Xr \&ss 4



Home | Main Index | Thread Index | Old Index