diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2001-06-25 03:20:25 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2001-06-25 03:20:25 +0000 |
commit | ed287873d5663dbaa879f3a992cfe06b5fbae961 (patch) | |
tree | 9c3f023005de15c52104b046070aa79aff1e0ed0 /sys/arch/mvme88k | |
parent | 7fb042ce7879b2fa4d46d932cc4d6b1af7459b7a (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/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/conf.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/arch/mvme88k/mvme88k/conf.c b/sys/arch/mvme88k/mvme88k/conf.c index 70d07c88dda..60bd325e78f 100644 --- a/sys/arch/mvme88k/mvme88k/conf.c +++ b/sys/arch/mvme88k/mvme88k/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.15 2001/03/12 22:57:30 miod Exp $ */ +/* $OpenBSD: conf.c,v 1.16 2001/06/25 03:20:09 kjell Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -195,11 +195,9 @@ cdev_decl(ksyms); #define NLKM 0 #endif -#ifdef IPFILTER -#define NIPF 1 -#else -#define NIPF 0 -#endif + +#include "pf.h" +cdev_decl(pf); cdev_decl(lkm); @@ -258,7 +256,7 @@ struct cdevsw cdevsw[] = cdev_lkm_dummy(), /* 36 */ cdev_lkm_dummy(), /* 37 */ cdev_lkm_dummy(), /* 38 */ - cdev_gen_ipf(NIPF,ipl), /* 39: IP filter */ + cdev_pf_init(NPF,pf), /* 39: packet filter */ cdev_random_init(1,random), /* 40: random data source */ cdev_notdef(), /* 41 */ cdev_notdef(), /* 42 */ |