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/sparc | |
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/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/conf.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c index 94abe75b0d0..82e12f32947 100644 --- a/sys/arch/sparc/sparc/conf.c +++ b/sys/arch/sparc/sparc/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.26 2000/09/26 14:03:55 art Exp $ */ +/* $OpenBSD: conf.c,v 1.27 2001/06/25 03:20:15 kjell Exp $ */ /* $NetBSD: conf.c,v 1.40 1996/04/11 19:20:03 thorpej Exp $ */ /* @@ -128,6 +128,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 */ @@ -197,7 +200,7 @@ struct cdevsw cdevsw[] = cdev_notdef(), /* 56 */ cdev_notdef(), /* 57 */ cdev_disk_init(NCD,cd), /* 58: SCSI CD-ROM */ - cdev_gen_ipf(NIPF,ipl), /* 59: ip filtering log */ + cdev_pf_init(NPF,pf), /* 59: packet filter */ cdev_notdef(), /* 60 */ cdev_notdef(), /* 61 */ cdev_notdef(), /* 62 */ |