Add kttcp device.
This commit is contained in:
parent
b77d4d3db2
commit
3350e73517
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh -
|
||||
# $NetBSD: MAKEDEV,v 1.5 2002/06/19 15:00:07 wiz Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.6 2002/07/11 00:19:08 simonb Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
|
@ -106,6 +106,7 @@
|
|||
# tun* network tunnel driver
|
||||
# uk* unknown SCSI device
|
||||
# systrace syscall tracer
|
||||
# kttcp kernel ttcp helper
|
||||
|
||||
dialin=0
|
||||
dialout=524288
|
||||
|
@ -138,6 +139,7 @@ all)
|
|||
sh $0 altq
|
||||
sh $0 clockctl
|
||||
sh $0 systrace
|
||||
sh $0 kttcp
|
||||
;;
|
||||
|
||||
minimal)
|
||||
|
@ -619,6 +621,12 @@ systrace)
|
|||
chmod 644 systrace
|
||||
;;
|
||||
|
||||
kttcp)
|
||||
rm -f kttcp
|
||||
mknod kttcp c 71 0
|
||||
chmod 600 kttcp
|
||||
;;
|
||||
|
||||
local)
|
||||
umask 0
|
||||
sh $0.local all
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: conf.c,v 1.4 2002/06/17 16:33:16 christos Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.5 2002/07/11 00:17:39 simonb Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.4 2002/06/17 16:33:16 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.5 2002/07/11 00:17:39 simonb Exp $");
|
||||
|
||||
#include "opt_systrace.h"
|
||||
|
||||
|
@ -269,6 +269,8 @@ cdev_decl(isdntel);
|
|||
|
||||
#include "clockctl.h"
|
||||
cdev_decl(clockctl);
|
||||
#include "kttcp.h"
|
||||
cdev_decl(kttcp);
|
||||
|
||||
#include "pci.h"
|
||||
cdev_decl(pci);
|
||||
|
@ -358,6 +360,7 @@ struct cdevsw cdevsw[] =
|
|||
#else
|
||||
cdev_notdef(), /* 70: system call tracing */
|
||||
#endif
|
||||
cdev__oci_init(NKTTCP,kttcp), /* 71: kernel ttcp helper */
|
||||
};
|
||||
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
|
||||
|
||||
|
@ -468,6 +471,7 @@ static int chrtoblktbl[] = {
|
|||
/* 68 */ NODEV,
|
||||
/* 69 */ NODEV,
|
||||
/* 70 */ NODEV,
|
||||
/* 71 */ NODEV,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue