diff options
Diffstat (limited to 'sys/arch/powerpc/powerpc/conf.c')
-rw-r--r-- | sys/arch/powerpc/powerpc/conf.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/arch/powerpc/powerpc/conf.c b/sys/arch/powerpc/powerpc/conf.c index bf20a219bf3..61a000fc51d 100644 --- a/sys/arch/powerpc/powerpc/conf.c +++ b/sys/arch/powerpc/powerpc/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.21 2001/06/23 03:30:38 matthieu Exp $ */ +/* $OpenBSD: conf.c,v 1.22 2001/06/25 03:20:13 kjell Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -160,11 +160,6 @@ cdev_decl(xfs_dev); cdev_decl(lkm); -#ifdef IPFILTER -#define NIPF 1 -#else -#define NIPF 0 -#endif #include "ksyms.h" cdev_decl(ksyms); #include "usb.h" @@ -191,6 +186,8 @@ cdev_decl(pci); #include "audio.h" cdev_decl(audio); +#include "pf.h" +cdev_decl(pf); struct cdevsw cdevsw[] = { cdev_cn_init(1,cn), /* 0: virtual console */ @@ -232,7 +229,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_uk_init(NUK,uk), /* 41: unknown SCSI */ cdev_ss_init(NSS,ss), /* 42: SCSI scanner */ |