summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2001-06-27 05:50:08 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2001-06-27 05:50:08 +0000
commit70a972f851feb0804a5c47063ffa69cb44987cfc (patch)
tree7b1f343f4a6acd5fdb2c1ceaa89a629ca3549ecf /sys/arch/alpha
parentad7cd8f1ebc8d0142bd2198822cc3f7d4aa1cf9a (diff)
ALTQ base modifications to the kernel.
- ALTQ introduces a set of new queue macros that coexist with the traditional IF_XXX macros. - "struct ifaltq" replaces "struct ifqueue" in "struct ifnet". - assign cdev major 74 for i386 and 54 for alpha as ALTQ control interface.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/conf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c
index 85c2ceff63d..6648a10318a 100644
--- a/sys/arch/alpha/alpha/conf.c
+++ b/sys/arch/alpha/alpha/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.26 2001/06/26 20:24:10 art Exp $ */
+/* $OpenBSD: conf.c,v 1.27 2001/06/27 05:50:03 kjc Exp $ */
/* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */
/*-
@@ -145,6 +145,8 @@ cdev_decl(pf);
cdev_decl(pci);
#endif
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -208,6 +210,7 @@ struct cdevsw cdevsw[] =
#else
cdev_notdef(),
#endif
+ cdev_altq_init(NALTQ, altq), /* 53: ALTQ control interface */
};
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);