Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Add kttcp device.



details:   https://anonhg.NetBSD.org/src/rev/a2b0821db684
branches:  trunk
changeset: 533457:a2b0821db684
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jun 30 23:30:07 2002 +0000

description:
Add kttcp device.

diffstat:

 sys/arch/arm/arm32/conf.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 02d3ae0932a1 -r a2b0821db684 sys/arch/arm/arm32/conf.c
--- a/sys/arch/arm/arm32/conf.c Sun Jun 30 22:57:30 2002 +0000
+++ b/sys/arch/arm/arm32/conf.c Sun Jun 30 23:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.11 2002/06/17 16:33:00 christos Exp $       */
+/*     $NetBSD: conf.c,v 1.12 2002/06/30 23:30:07 thorpej Exp $        */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -404,6 +404,9 @@
 #define ptctty          ptytty
 #define ptcioctl        ptyioctl
 
+#include "kttcp.h"
+cdev_decl(kttcp);
+
 struct cdevsw cdevsw[] = {
        cdev_mm_init(1,mm),                     /*  0: /dev/{null,mem,kmem,...} */
        cdev_swap_init(1,sw),                   /*  1: /dev/drum (swap pseudo-device) */
@@ -508,6 +511,7 @@
 #else
        cdev_notdef(),                          /* 98: system call tracing */
 #endif
+       cdev__oci_init(NKTTCP,kttcp),           /* 99: kernel ttcp helper */
 };
 
 int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
@@ -649,6 +653,7 @@
     /* 96 */       NODEV,
     /* 97 */       NODEV,
     /* 98 */       NODEV,
+    /* 99 */       NODEV,
 };
 
 /*



Home | Main Index | Thread Index | Old Index