Source-Changes-HG archive

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

[src/trunk]: src Sync hpcarm & arm32 conf.c (this entails shifting the i4b ma...



details:   https://anonhg.NetBSD.org/src/rev/50c63a7223aa
branches:  trunk
changeset: 514453:50c63a7223aa
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Sep 03 01:33:38 2001 +0000

description:
Sync hpcarm & arm32 conf.c (this entails shifting the i4b major numbers
up by one on arm32 and and adding notdef entries on hpcarm).

diffstat:

 etc/etc.arm32/MAKEDEV         |  12 ++++++------
 sys/arch/arm32/arm32/conf.c   |  14 ++++++++------
 sys/arch/hpcarm/hpcarm/conf.c |  13 +++++++++++--
 3 files changed, 25 insertions(+), 14 deletions(-)

diffs (120 lines):

diff -r 309707c3becb -r 50c63a7223aa etc/etc.arm32/MAKEDEV
--- a/etc/etc.arm32/MAKEDEV     Mon Sep 03 01:22:54 2001 +0000
+++ b/etc/etc.arm32/MAKEDEV     Mon Sep 03 01:33:38 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.55 2001/06/10 22:07:23 chris Exp $
+#      $NetBSD: MAKEDEV,v 1.56 2001/09/03 01:33:38 matt Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -625,34 +625,34 @@
 
 i4b)
        rm -f i4b
-       mknod i4b c 78 0
+       mknod i4b c 79 0
        chmod 600 i4b
        ;;
 
 i4bctl)
        rm -f i4bctl
-       mknod i4bctl c 79 0
+       mknod i4bctl c 80 0
        chmod 600 i4bctl
        ;;
 
 i4brbch*)
        unit=${i#i4brbch};
        rm -f i4brbch$unit
-       mknod i4brbch$unit c 80 $unit
+       mknod i4brbch$unit c 81 $unit
        chmod 600 i4brbch$unit
        ;;
 
 i4btel*)
        unit=${i#i4btel};
        rm -f i4btel$unit
-       mknod i4btel$unit c 82 $unit
+       mknod i4btel$unit c 83 $unit
        chmod 600 i4btel$unit
        ;;
 
 i4btrc*)
        unit=${i#i4btrc};
        rm -f i4btrc$unit
-       mknod i4btrc$unit c 81 $unit
+       mknod i4btrc$unit c 82 $unit
        chmod 600 i4btrc$unit
        ;;
 
diff -r 309707c3becb -r 50c63a7223aa sys/arch/arm32/arm32/conf.c
--- a/sys/arch/arm32/arm32/conf.c       Mon Sep 03 01:22:54 2001 +0000
+++ b/sys/arch/arm32/arm32/conf.c       Mon Sep 03 01:33:38 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.51 2001/03/21 22:25:54 lukem Exp $  */
+/*     $NetBSD: conf.c,v 1.52 2001/09/03 01:33:38 matt Exp $   */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -300,11 +300,12 @@
 #else
        cdev_notdef(),                  /* 77: */
 #endif
-       cdev_i4b_init(NI4B, i4b),               /* 78: i4b main device */
-       cdev_i4bctl_init(NI4BCTL, i4bctl),      /* 79: i4b control device */
-       cdev_i4brbch_init(NI4BRBCH, i4brbch),   /* 80: i4b raw b-channel access */
-       cdev_i4btrc_init(NI4BTRC, i4btrc),      /* 81: i4b trace device */
-       cdev_i4btel_init(NI4BTEL, i4btel),      /* 82: i4b phone device */
+        cdev_notdef(),                 /* 78: bicons pseudo-dev */
+       cdev_i4b_init(NI4B, i4b),               /* 79: i4b main device */
+       cdev_i4bctl_init(NI4BCTL, i4bctl),      /* 80: i4b control device */
+       cdev_i4brbch_init(NI4BRBCH, i4brbch),   /* 81: i4b raw b-channel access */
+       cdev_i4btrc_init(NI4BTRC, i4btrc),      /* 82: i4b trace device */
+       cdev_i4btel_init(NI4BTEL, i4btel),      /* 83: i4b phone device */
 
 };
 
@@ -430,6 +431,7 @@
     /* 80 */       NODEV,
     /* 81 */       NODEV,
     /* 82 */       NODEV,
+    /* 83 */       NODEV,
 };
 
 /*
diff -r 309707c3becb -r 50c63a7223aa sys/arch/hpcarm/hpcarm/conf.c
--- a/sys/arch/hpcarm/hpcarm/conf.c     Mon Sep 03 01:22:54 2001 +0000
+++ b/sys/arch/hpcarm/hpcarm/conf.c     Mon Sep 03 01:33:38 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.3 2001/03/31 12:52:31 toshii Exp $  */
+/*     $NetBSD: conf.c,v 1.4 2001/09/03 01:33:39 matt Exp $    */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -261,7 +261,11 @@
        cdev_ugen_init(NUSCANNER,uscanner),/* 76: USB scanner */
        cdev_notdef(),                  /* 77: */
        cdev_tty_init(NBICONSDEV,biconsdev),    /* 78: bicons pseudo-dev */
-
+       cdev_notdef(),                  /* 79: */
+       cdev_notdef(),                  /* 80: */
+       cdev_notdef(),                  /* 81: */
+       cdev_notdef(),                  /* 82: */
+       cdev_notdef(),                  /* 83: */
 };
 
 int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
@@ -382,6 +386,11 @@
     /* 76 */       NODEV,
     /* 77 */       NODEV,
     /* 78 */       NODEV,
+    /* 79 */       NODEV,
+    /* 80 */       NODEV,
+    /* 81 */       NODEV,
+    /* 82 */       NODEV,
+    /* 83 */       NODEV,
 };
 
 /*



Home | Main Index | Thread Index | Old Index