diff options
author | Kenjiro Cho <kjc@cvs.openbsd.org> | 2001-06-27 05:50:08 +0000 |
---|---|---|
committer | Kenjiro Cho <kjc@cvs.openbsd.org> | 2001-06-27 05:50:08 +0000 |
commit | 70a972f851feb0804a5c47063ffa69cb44987cfc (patch) | |
tree | 7b1f343f4a6acd5fdb2c1ceaa89a629ca3549ecf /sys/arch/i386 | |
parent | ad7cd8f1ebc8d0142bd2198822cc3f7d4aa1cf9a (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/i386')
-rw-r--r-- | sys/arch/i386/i386/conf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c index 3c76c36bebe..a78d7d8cc94 100644 --- a/sys/arch/i386/i386/conf.c +++ b/sys/arch/i386/i386/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.74 2001/06/25 03:19:59 kjell Exp $ */ +/* $OpenBSD: conf.c,v 1.75 2001/06/27 05:50:04 kjc Exp $ */ /* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */ /* @@ -232,6 +232,8 @@ cdev_decl(pci); #include "pf.h" cdev_decl(pf); +#include <altq/altqconf.h> + struct cdevsw cdevsw[] = { cdev_cn_init(1,cn), /* 0: virtual console */ @@ -336,6 +338,7 @@ struct cdevsw cdevsw[] = cdev_notdef(), #endif cdev_pf_init(NPF,pf), /* 73: packet filter */ + cdev_altq_init(NALTQ,altq), /* 74: ALTQ control interface */ }; int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]); |