summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraichen <graichen@openbsd.org>1997-07-07 08:26:07 +0000
committergraichen <graichen@openbsd.org>1997-07-07 08:26:07 +0000
commita0d3457708409eba0737b9c875736e9f1f235bf1 (patch)
treeb8eb54e8238026435066095438125d37e276299b
parentset a useful value for HZ here - so that we no longer have to set it (diff)
downloadwireguard-openbsd-a0d3457708409eba0737b9c875736e9f1f235bf1.tar.xz
wireguard-openbsd-a0d3457708409eba0737b9c875736e9f1f235bf1.zip
add ipl device (ipfilter) - i have to rework and cleanup conf.c and
MAKEDEV for the pmax soon !
-rw-r--r--sys/arch/pmax/pmax/conf.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/pmax/pmax/conf.c b/sys/arch/pmax/pmax/conf.c
index 5f8c5420d99..2cc540e66d3 100644
--- a/sys/arch/pmax/pmax/conf.c
+++ b/sys/arch/pmax/pmax/conf.c
@@ -129,6 +129,13 @@ cdev_decl(xcfb);
cdev_decl(mfb);
dev_decl(filedesc,open);
+cdev_decl(ipl);
+#ifdef IPFILTER
+#define NIPF 1
+#else
+#define NIPF 0
+#endif
+
#if (NDC_DS > 0) || (NDC_IOASIC > 0)
# define NDC 1
#else
@@ -241,8 +248,9 @@ struct cdevsw cdevsw[] =
cdev_fbm_init(NFB,fb), /* 86: frame buffer pseudo-device */
cdev_disk_init(NCCD,ccd), /* 87: concatenated disk driver */
cdev_random_init(1,random), /* 88: random data source */
- cdev_uk_init(NUK,uk), /* 98: unknown SCSI */
- cdev_ss_init(NSS,ss), /* 99: SCSI scanner */
+ cdev_uk_init(NUK,uk), /* 89: unknown SCSI */
+ cdev_ss_init(NSS,ss), /* 90: SCSI scanner */
+ cdev_gen_ipf(NIPF,ipl), /* 91: ip filtering */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);