summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-24 21:19:10 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-24 21:19:10 +0000
commitb9ddd490e90e403451129783199483c6a7f20de4 (patch)
treebc1571d163ce83434e11cf5c0260319d143e9efb /sys/arch
parent5bc2596c01f5d8c8cb1a00d6f46734f9f2820cda (diff)
Add pf.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/conf.c5
-rw-r--r--sys/arch/alpha/conf/GENERIC4
2 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c
index 14b5c82fe57..01f95dd329a 100644
--- a/sys/arch/alpha/alpha/conf.c
+++ b/sys/arch/alpha/alpha/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.23 2001/03/08 02:36:01 ericj Exp $ */
+/* $OpenBSD: conf.c,v 1.24 2001/06/24 21:19:08 art Exp $ */
/* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */
/*-
@@ -138,6 +138,8 @@ cdev_decl(ulpt);
cdev_decl(ucom);
#include "ugen.h"
cdev_decl(ugen);
+#include "pf.h"
+cdev_decl(pf);
struct cdevsw cdevsw[] =
{
@@ -197,6 +199,7 @@ struct cdevsw cdevsw[] =
#else
cdev_notdef(), /* 51 */
#endif
+ cdev_pf_init(NPF, pf), /* 52: packet filter */
};
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);
diff --git a/sys/arch/alpha/conf/GENERIC b/sys/arch/alpha/conf/GENERIC
index c01c2a7c1ed..a7f612cd815 100644
--- a/sys/arch/alpha/conf/GENERIC
+++ b/sys/arch/alpha/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.78 2001/05/17 17:45:15 jason Exp $
+# $OpenBSD: GENERIC,v 1.79 2001/06/24 21:19:09 art Exp $
# $NetBSD: GENERIC,v 1.31 1996/12/03 17:25:29 cgd Exp $
#
# Generic Alpha kernel. Enough to get booted, etc., but not much more.
@@ -298,3 +298,5 @@ hifn* at pci? dev ? function ? # Hi/fn 7751 crypto card
#pseudo-device raid 4 # RAIDframe disk driver
pseudo-device crypto 1
+pseudo-device pf 1 # packetfilter
+