Source-Changes-HG archive

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

[src/trunk]: src Add dmoverio.



details:   https://anonhg.NetBSD.org/src/rev/d453b3e5646a
branches:  trunk
changeset: 534703:d453b3e5646a
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Aug 02 00:50:25 2002 +0000

description:
Add dmoverio.

diffstat:

 etc/etc.evbarm/MAKEDEV    |  10 +++++++++-
 sys/arch/arm/arm32/conf.c |   7 ++++++-
 2 files changed, 15 insertions(+), 2 deletions(-)

diffs (75 lines):

diff -r 8b815fb715eb -r d453b3e5646a etc/etc.evbarm/MAKEDEV
--- a/etc/etc.evbarm/MAKEDEV    Fri Aug 02 00:48:28 2002 +0000
+++ b/etc/etc.evbarm/MAKEDEV    Fri Aug 02 00:50:25 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.20 2002/07/29 18:27:48 thorpej Exp $
+#      $NetBSD: MAKEDEV,v 1.21 2002/08/02 00:50:50 thorpej Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -108,6 +108,7 @@
 #      systrace syscall tracer
 #      kttcp   kernel ttcp helper
 #      sysmon  System Monitoring hardware
+#      dmoverio hardware-assisted data movers
 #
 
 dialin=0
@@ -149,6 +150,7 @@
        makedev systrace
        makedev kttcp
        makedev sysmon
+       makedev dmoverio
        ;;
 
 ramdisk|floppy)
@@ -668,6 +670,12 @@
        chmod 644 watchdog
        ;;
 
+dmoverio)
+       rm -f dmoverio
+       mknod dmoverio c 102 0
+       chmod 644 dmoverio
+       ;;
+
 local)
        umask 0
        sh $0.local all
diff -r 8b815fb715eb -r d453b3e5646a sys/arch/arm/arm32/conf.c
--- a/sys/arch/arm/arm32/conf.c Fri Aug 02 00:48:28 2002 +0000
+++ b/sys/arch/arm/arm32/conf.c Fri Aug 02 00:50:25 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.17 2002/07/29 18:26:58 thorpej Exp $        */
+/*     $NetBSD: conf.c,v 1.18 2002/08/02 00:50:25 thorpej Exp $        */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -414,6 +414,9 @@
 #include <dev/sysmon/sysmonconf.h>
 cdev_decl(sysmon);
 
+#include "dmoverio.h"
+cdev_decl(dmoverio);
+
 struct cdevsw cdevsw[] = {
        cdev_mm_init(1,mm),                     /*  0: /dev/{null,mem,kmem,...} */
        cdev_swap_init(1,sw),                   /*  1: /dev/drum (swap pseudo-device) */
@@ -521,6 +524,7 @@
        cdev__oci_init(NKTTCP,kttcp),           /* 99: kernel ttcp helper */
        cdev_tty_init(NIXPCOM,ixpcom),          /* 100: IXP1200 serial port */
        cdev_sysmon_init(NSYSMON, sysmon),      /* 101: System Monitor */
+       cdev_clonemisc_init(NDMOVERIO,dmoverio),/* 102: data mover interface */
 };
 
 int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
@@ -665,6 +669,7 @@
     /* 99 */       NODEV,
     /* 100 */      NODEV,
     /* 101 */      NODEV,
+    /* 102 */      NODEV,
 };
 
 /*



Home | Main Index | Thread Index | Old Index