summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2001-06-25 03:20:25 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2001-06-25 03:20:25 +0000
commited287873d5663dbaa879f3a992cfe06b5fbae961 (patch)
tree9c3f023005de15c52104b046070aa79aff1e0ed0 /sys/arch/sun3
parent7fb042ce7879b2fa4d46d932cc4d6b1af7459b7a (diff)
add pf device on all architectures.
fix my previously bogus MAKEDEVs. If you used pf on a non-i386. the major device number has changed, and you'll need to recreate /dev/pf ok theo
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/sun3/conf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/sun3/sun3/conf.c b/sys/arch/sun3/sun3/conf.c
index 032f654fff1..f2ff57b01b7 100644
--- a/sys/arch/sun3/sun3/conf.c
+++ b/sys/arch/sun3/sun3/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.27 2000/09/26 14:03:55 art Exp $ */
+/* $OpenBSD: conf.c,v 1.28 2001/06/25 03:20:19 kjell Exp $ */
/* $NetBSD: conf.c,v 1.51 1996/11/04 16:16:09 gwr Exp $ */
/*-
@@ -111,6 +111,9 @@ struct bdevsw bdevsw[] =
};
int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
+#include "pf.h"
+cdev_decl(pf);
+
struct cdevsw cdevsw[] =
{
cdev_cn_init(1,cn), /* 0: virtual console */
@@ -192,7 +195,7 @@ struct cdevsw cdevsw[] =
cdev_random_init(1,random), /* 72: randomness source */
cdev_uk_init(NUK,uk), /* 73: unknown SCSI */
cdev_ss_init(NSS,ss), /* 74: SCSI scanner */
- cdev_gen_ipf(NIPF,ipl), /* 75: ip filter log */
+ cdev_pf_init(NPF,pf), /* 75: packet filter */
cdev_lkm_init(NLKM,lkm), /* 76: loadable module driver */
cdev_lkm_dummy(), /* 77 */
cdev_lkm_dummy(), /* 78 */