summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
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/mac68k
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/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/conf.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/arch/mac68k/mac68k/conf.c b/sys/arch/mac68k/mac68k/conf.c
index b644f5ab9d6..4e925058e23 100644
--- a/sys/arch/mac68k/mac68k/conf.c
+++ b/sys/arch/mac68k/mac68k/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.22 2000/09/26 14:03:53 art Exp $ */
+/* $OpenBSD: conf.c,v 1.23 2001/06/25 03:20:01 kjell Exp $ */
/* $NetBSD: conf.c,v 1.41 1997/02/11 07:35:49 scottr Exp $ */
/*
@@ -119,11 +119,8 @@ cdev_decl(ksyms);
cdev_decl(xfs_dev);
#endif
-#ifdef IPFILTER
-#define NIPF 1
-#else
-#define NIPF 0
-#endif
+#include "pf.h"
+cdev_decl(pf);
struct cdevsw cdevsw[] =
{
@@ -162,7 +159,7 @@ struct cdevsw cdevsw[] =
cdev_random_init(1,random), /* 32: random data source */
cdev_ss_init(NSS,ss), /* 33: SCSI scanner */
cdev_uk_init(NUK,uk), /* 34: SCSI unknown */
- cdev_gen_ipf(NIPF,ipl), /* 35: IP filter log */
+ cdev_pf_init(NPF,pf), /* 35: packet filter */
cdev_audio_init(NASC,asc), /* 36: ASC audio device */
cdev_ksyms_init(NKSYMS,ksyms), /* 37: Kernel symbols device */
cdev_notdef(), /* 38 */