summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2001-06-27 06:56:31 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2001-06-27 06:56:31 +0000
commit8de865d12df94dc0c657425345dc6e459606e857 (patch)
treed1ede28556e0fc9721468b5d57ddad4961ddadc9 /sys/arch
parenta8559962f98058a8039efc6dc1db817c2895dccb (diff)
add the ALTQ device to the rest of the architectures.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/amiga/conf.c5
-rw-r--r--sys/arch/hp300/hp300/conf.c5
-rw-r--r--sys/arch/hppa/hppa/conf.c5
-rw-r--r--sys/arch/mac68k/mac68k/conf.c5
-rw-r--r--sys/arch/mvme68k/mvme68k/conf.c5
-rw-r--r--sys/arch/mvme88k/mvme88k/conf.c5
-rw-r--r--sys/arch/mvmeppc/mvmeppc/conf.c5
-rw-r--r--sys/arch/powerpc/powerpc/conf.c5
-rw-r--r--sys/arch/sparc/sparc/conf.c5
-rw-r--r--sys/arch/sun3/sun3/conf.c5
-rw-r--r--sys/arch/vax/vax/conf.c6
11 files changed, 44 insertions, 12 deletions
diff --git a/sys/arch/amiga/amiga/conf.c b/sys/arch/amiga/amiga/conf.c
index 23d62375ebd..fcdb06f97e8 100644
--- a/sys/arch/amiga/amiga/conf.c
+++ b/sys/arch/amiga/amiga/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.30 2001/06/25 03:19:44 kjell Exp $ */
+/* $OpenBSD: conf.c,v 1.31 2001/06/27 06:56:27 kjc Exp $ */
/* $NetBSD: conf.c,v 1.42 1997/01/07 11:35:03 mrg Exp $ */
/*-
@@ -119,6 +119,8 @@ cdev_decl(audio);
#include "pf.h"
cdev_decl(pf);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -178,6 +180,7 @@ struct cdevsw cdevsw[] =
#else
cdev_notdef(), /* 51 */
#endif
+ cdev_altq_init(NALTQ,altq), /* 52: ALTQ control interface */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
diff --git a/sys/arch/hp300/hp300/conf.c b/sys/arch/hp300/hp300/conf.c
index c169e175601..8ea582cdbcb 100644
--- a/sys/arch/hp300/hp300/conf.c
+++ b/sys/arch/hp300/hp300/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.24 2001/06/25 03:19:50 kjell Exp $ */
+/* $OpenBSD: conf.c,v 1.25 2001/06/27 06:56:28 kjc Exp $ */
/* $NetBSD: conf.c,v 1.39 1997/05/12 08:17:53 thorpej Exp $ */
/*-
@@ -155,6 +155,8 @@ cdev_decl(xfs_dev);
#include "pf.h"
cdev_decl(pf);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -214,6 +216,7 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 51 */
#endif
+ cdev_altq_init(NALTQ,altq), /* 52: ALTQ control interface */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
diff --git a/sys/arch/hppa/hppa/conf.c b/sys/arch/hppa/hppa/conf.c
index 6faf8351ad9..2ddb193da96 100644
--- a/sys/arch/hppa/hppa/conf.c
+++ b/sys/arch/hppa/hppa/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.10 2001/06/25 03:19:55 kjell Exp $ */
+/* $OpenBSD: conf.c,v 1.11 2001/06/27 06:56:28 kjc Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -117,6 +117,8 @@ cdev_decl(com);
#include "pf.h"
cdev_decl(pf);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -157,6 +159,7 @@ struct cdevsw cdevsw[] =
#else
cdev_notdef(), /* 32 */
#endif
+ cdev_altq_init(NALTQ,altq), /* 33: ALTQ control interface */
cdev_lkm_dummy(),
cdev_lkm_dummy(),
cdev_lkm_dummy(),
diff --git a/sys/arch/mac68k/mac68k/conf.c b/sys/arch/mac68k/mac68k/conf.c
index 4e925058e23..860c9ebb049 100644
--- a/sys/arch/mac68k/mac68k/conf.c
+++ b/sys/arch/mac68k/mac68k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.23 2001/06/25 03:20:01 kjell Exp $ */
+/* $OpenBSD: conf.c,v 1.24 2001/06/27 06:56:28 kjc Exp $ */
/* $NetBSD: conf.c,v 1.41 1997/02/11 07:35:49 scottr Exp $ */
/*
@@ -122,6 +122,8 @@ cdev_decl(xfs_dev);
#include "pf.h"
cdev_decl(pf);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -180,6 +182,7 @@ struct cdevsw cdevsw[] =
#else
cdev_notdef(), /* 51 */
#endif
+ cdev_altq_init(NALTQ,altq), /* 52: ALTQ control interface */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
diff --git a/sys/arch/mvme68k/mvme68k/conf.c b/sys/arch/mvme68k/mvme68k/conf.c
index 4fa997e699c..d897c4068fb 100644
--- a/sys/arch/mvme68k/mvme68k/conf.c
+++ b/sys/arch/mvme68k/mvme68k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.21 2001/06/25 03:20:05 kjell Exp $ */
+/* $OpenBSD: conf.c,v 1.22 2001/06/27 06:56:29 kjc Exp $ */
/*-
* Copyright (c) 1995 Theo de Raadt
@@ -181,6 +181,8 @@ dev_decl(filedesc,open);
#include "pf.h"
cdev_decl(pf);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -239,6 +241,7 @@ struct cdevsw cdevsw[] =
#else
cdev_lkm_dummy(), /* 51 */
#endif
+ cdev_altq_init(NALTQ,altq), /* 52: ALTQ control interface */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
diff --git a/sys/arch/mvme88k/mvme88k/conf.c b/sys/arch/mvme88k/mvme88k/conf.c
index 60bd325e78f..55c0902ccc1 100644
--- a/sys/arch/mvme88k/mvme88k/conf.c
+++ b/sys/arch/mvme88k/mvme88k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.16 2001/06/25 03:20:09 kjell Exp $ */
+/* $OpenBSD: conf.c,v 1.17 2001/06/27 06:56:29 kjc Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -201,6 +201,8 @@ cdev_decl(pf);
cdev_decl(lkm);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -273,6 +275,7 @@ struct cdevsw cdevsw[] =
#else
cdev_notdef(), /* 51 */
#endif
+ cdev_altq_init(NALTQ,altq), /* 52: ALTQ control interface */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
diff --git a/sys/arch/mvmeppc/mvmeppc/conf.c b/sys/arch/mvmeppc/mvmeppc/conf.c
index 233ecd28ff3..810dde35288 100644
--- a/sys/arch/mvmeppc/mvmeppc/conf.c
+++ b/sys/arch/mvmeppc/mvmeppc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.2 2001/06/27 06:21:55 angelos Exp $ */
+/* $OpenBSD: conf.c,v 1.3 2001/06/27 06:56:29 kjc Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -149,6 +149,8 @@ cdev_decl(lkm);
#include "ksyms.h"
cdev_decl(ksyms);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] = {
cdev_cn_init(1,cn), /* 0: virtual console */
cdev_ctty_init(1,ctty), /* 1: controlling terminal */
@@ -232,6 +234,7 @@ struct cdevsw cdevsw[] = {
cdev_notdef(), /* 68: i4b phone device */
cdev_notdef(), /* 69: i4b phone device */
cdev_notdef(), /* 70: i4b phone device */
+ cdev_altq_init(NALTQ,altq), /* 71: ALTQ control interface */
};
int nchrdev = sizeof cdevsw / sizeof cdevsw[0];
diff --git a/sys/arch/powerpc/powerpc/conf.c b/sys/arch/powerpc/powerpc/conf.c
index 61a000fc51d..abc93c780ba 100644
--- a/sys/arch/powerpc/powerpc/conf.c
+++ b/sys/arch/powerpc/powerpc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.22 2001/06/25 03:20:13 kjell Exp $ */
+/* $OpenBSD: conf.c,v 1.23 2001/06/27 06:56:29 kjc Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -189,6 +189,8 @@ cdev_decl(audio);
#include "pf.h"
cdev_decl(pf);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] = {
cdev_cn_init(1,cn), /* 0: virtual console */
cdev_ctty_init(1,ctty), /* 1: controlling terminal */
@@ -274,6 +276,7 @@ struct cdevsw cdevsw[] = {
#else
cdev_notdef(),
#endif
+ cdev_altq_init(NALTQ,altq), /* 72: ALTQ control interface */
};
int nchrdev = sizeof cdevsw / sizeof cdevsw[0];
diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c
index 82e12f32947..68bd2bf6d5f 100644
--- a/sys/arch/sparc/sparc/conf.c
+++ b/sys/arch/sparc/sparc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.27 2001/06/25 03:20:15 kjell Exp $ */
+/* $OpenBSD: conf.c,v 1.28 2001/06/27 06:56:29 kjc Exp $ */
/* $NetBSD: conf.c,v 1.40 1996/04/11 19:20:03 thorpej Exp $ */
/*
@@ -131,6 +131,8 @@ int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
#include "pf.h"
cdev_decl(pf);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -266,6 +268,7 @@ struct cdevsw cdevsw[] =
cdev_ksyms_init(NKSYMS,ksyms), /* 122: Kernel symbols device */
cdev_disk_init(NRAID,raid), /* 123: RAIDframe disk driver */
cdev_ses_init(NSES,ses), /* 124: SCSI SES or SAF-TE device */
+ cdev_altq_init(NALTQ,altq), /* 125: ALTQ control interface */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
diff --git a/sys/arch/sun3/sun3/conf.c b/sys/arch/sun3/sun3/conf.c
index f2ff57b01b7..d4fb4da1eb5 100644
--- a/sys/arch/sun3/sun3/conf.c
+++ b/sys/arch/sun3/sun3/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.28 2001/06/25 03:20:19 kjell Exp $ */
+/* $OpenBSD: conf.c,v 1.29 2001/06/27 06:56:30 kjc Exp $ */
/* $NetBSD: conf.c,v 1.51 1996/11/04 16:16:09 gwr Exp $ */
/*-
@@ -114,6 +114,8 @@ int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
#include "pf.h"
cdev_decl(pf);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -205,6 +207,7 @@ struct cdevsw cdevsw[] =
cdev_lkm_dummy(), /* 82 */
cdev_ch_init(NCH,ch), /* 83: SCSI autochanger */
cdev_ses_init(NSES,ses), /* 84: SCSI SES or SAF-TE device */
+ cdev_altq_init(NALTQ,altq), /* 85: ALTQ control interface */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
diff --git a/sys/arch/vax/vax/conf.c b/sys/arch/vax/vax/conf.c
index 0b24f275617..7140cfb45d0 100644
--- a/sys/arch/vax/vax/conf.c
+++ b/sys/arch/vax/vax/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.27 2001/06/25 03:20:22 kjell Exp $ */
+/* $OpenBSD: conf.c,v 1.28 2001/06/27 06:56:30 kjc Exp $ */
/* $NetBSD: conf.c,v 1.44 1999/10/27 16:38:54 ragge Exp $ */
/*-
@@ -438,6 +438,8 @@ dev_decl(filedesc,open);
#include "pf.h"
cdev_decl(pf);
+#include <altq/altqconf.h>
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -517,7 +519,7 @@ struct cdevsw cdevsw[] =
#else
cdev_notdef(), /* 74 */
#endif
-
+ cdev_altq_init(NALTQ,altq), /* 75: ALTQ control interface */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);