Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Glue in ALTQ.
details: https://anonhg.NetBSD.org/src/rev/6dd079251655
branches: trunk
changeset: 500653:6dd079251655
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Dec 14 23:55:31 2000 +0000
description:
Glue in ALTQ.
diffstat:
sys/arch/alpha/alpha/conf.c | 8 ++++++--
sys/arch/i386/i386/conf.c | 10 +++++++---
2 files changed, 13 insertions(+), 5 deletions(-)
diffs (86 lines):
diff -r cb250a08eba7 -r 6dd079251655 sys/arch/alpha/alpha/conf.c
--- a/sys/arch/alpha/alpha/conf.c Thu Dec 14 23:50:43 2000 +0000
+++ b/sys/arch/alpha/alpha/conf.c Thu Dec 14 23:55:31 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.51 2000/11/26 17:44:06 ad Exp $ */
+/* $NetBSD: conf.c,v 1.52 2000/12/14 23:55:31 thorpej Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -37,7 +37,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.51 2000/11/26 17:44:06 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: conf.c,v 1.52 2000/12/14 23:55:31 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -255,6 +255,8 @@
cdev_decl(i4btel);
#endif
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -339,6 +341,7 @@
cdev_tty_init(NCZ,cztty), /* 61: Cyclades-Z serial */
cdev_usbdev_init(NURIO,urio), /* 62: Diamond Rio 500 */
cdev_ugen_init(NUSCANNER,uscanner),/* 63: USB scanner */
+ cdev_altq_init(NALTQ,altq), /* 64: ALTQ control interface */
};
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);
@@ -444,6 +447,7 @@
/* 61 */ NODEV,
/* 62 */ NODEV,
/* 63 */ NODEV,
+ /* 64 */ NODEV,
};
/*
diff -r cb250a08eba7 -r 6dd079251655 sys/arch/i386/i386/conf.c
--- a/sys/arch/i386/i386/conf.c Thu Dec 14 23:50:43 2000 +0000
+++ b/sys/arch/i386/i386/conf.c Thu Dec 14 23:55:31 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.133 2000/12/03 13:19:07 ad Exp $ */
+/* $NetBSD: conf.c,v 1.134 2000/12/14 23:55:31 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -301,12 +301,14 @@
#include "iop.h"
cdev_decl(iop);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
cdev_ctty_init(1,ctty), /* 1: controlling terminal */
cdev_mm_init(1,mm), /* 2: /dev/{null,mem,kmem,...} */
- cdev_disk_init(NWD,wd), /* 3: ST506/ESDI/IDE disk */
+ cdev_disk_init(NWD,wd), /* 3: ST506/ESDI/IDE disk */
cdev_swap_init(1,sw), /* 4: /dev/drum (swap pseudo-device) */
cdev_tty_init(NPTY,pts), /* 5: pseudo-tty slave */
cdev_ptc_init(NPTY,ptc), /* 6: pseudo-tty master */
@@ -396,6 +398,7 @@
cdev_ses_init(NSES,ses), /* 74: SCSI SES/SAF-TE */
cdev_ugen_init(NUSCANNER,uscanner),/* 75: USB scanner */
cdev__oci_init(NIOP,iop), /* 76: I2O IOP control interface */
+ cdev_altq_init(NALTQ,altq), /* 77: ALTQ control interface */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
@@ -513,7 +516,8 @@
/* 73 */ NODEV,
/* 74 */ NODEV,
/* 75 */ NODEV,
- /* 76 */ NODEV
+ /* 76 */ NODEV,
+ /* 77 */ NODEV,
};
/*
Home |
Main Index |
Thread Index |
Old Index