diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/alpha/conf.c | 5 | ||||
-rw-r--r-- | sys/arch/i386/i386/conf.c | 5 |
2 files changed, 8 insertions, 2 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]); 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]); |