Source-Changes-HG archive

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

[src/trunk]: src Revert the major number for satmgr(4) back to 100 and alloca...



details:   https://anonhg.NetBSD.org/src/rev/fcc491a01819
branches:  trunk
changeset: 762804:fcc491a01819
user:      phx <phx%NetBSD.org@localhost>
date:      Tue Mar 01 09:17:06 2011 +0000

description:
Revert the major number for satmgr(4) back to 100 and allocate it from
majors.powerpc, as suggested by matt@.

diffstat:

 etc/etc.sandpoint/MAKEDEV.conf          |  4 ++--
 sys/arch/powerpc/conf/majors.powerpc    |  3 ++-
 sys/arch/sandpoint/conf/files.sandpoint |  4 +---
 3 files changed, 5 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r 8372e4d3341c -r fcc491a01819 etc/etc.sandpoint/MAKEDEV.conf
--- a/etc/etc.sandpoint/MAKEDEV.conf    Tue Mar 01 08:54:18 2011 +0000
+++ b/etc/etc.sandpoint/MAKEDEV.conf    Tue Mar 01 09:17:06 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MAKEDEV.conf,v 1.10 2011/02/26 09:52:16 phx Exp $
+# $NetBSD: MAKEDEV.conf,v 1.11 2011/03/01 09:17:06 phx Exp $
 
 init)
        makedev std tty00 tty01 opty ptm pty0
@@ -25,7 +25,7 @@
        ;;
 
 satmgr)
-       mkdev satmgr    c 144 0 620
+       mkdev satmgr    c 100 0 620
        ;;
 
 power)
diff -r 8372e4d3341c -r fcc491a01819 sys/arch/powerpc/conf/majors.powerpc
--- a/sys/arch/powerpc/conf/majors.powerpc      Tue Mar 01 08:54:18 2011 +0000
+++ b/sys/arch/powerpc/conf/majors.powerpc      Tue Mar 01 09:17:06 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: majors.powerpc,v 1.6 2010/05/29 22:48:57 phx Exp $
+#      $NetBSD: majors.powerpc,v 1.7 2011/03/01 09:17:06 phx Exp $
 #
 # Device majors for shared PowerPC
 #
@@ -90,6 +90,7 @@
 
 device-major   nsmb            char 98                 nsmb
 device-major   xlcom           char 99                 xlcom
+device-major   satmgr          char 100                satmgr
 
 # Majors up to 143 are reserved for machine-dependant drivers.
 # New machine-independent driver majors are assigned in 
diff -r 8372e4d3341c -r fcc491a01819 sys/arch/sandpoint/conf/files.sandpoint
--- a/sys/arch/sandpoint/conf/files.sandpoint   Tue Mar 01 08:54:18 2011 +0000
+++ b/sys/arch/sandpoint/conf/files.sandpoint   Tue Mar 01 09:17:06 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.sandpoint,v 1.28 2011/02/26 09:52:16 phx Exp $
+#      $NetBSD: files.sandpoint,v 1.29 2011/03/01 09:17:07 phx Exp $
 #
 # Motorola's "SandPoint" evaluation board and multiplied descendents.
 #
@@ -109,5 +109,3 @@
 file   arch/sandpoint/sandpoint/satmgr.c       satmgr
 
 include "arch/powerpc/conf/majors.powerpc"
-
-device-major   satmgr          char 144        satmgr



Home | Main Index | Thread Index | Old Index