diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/include/conf.h | 9 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/conf.c | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/sys/arch/sparc/include/conf.h b/sys/arch/sparc/include/conf.h index 7d63e4f375c..20855735e69 100644 --- a/sys/arch/sparc/include/conf.h +++ b/sys/arch/sparc/include/conf.h @@ -1,5 +1,5 @@ /* $NetBSD: conf.h,v 1.1 1996/03/30 21:17:55 christos Exp $ */ -/* $OpenBSD: conf.h,v 1.3 1996/11/11 23:30:27 kstailey Exp $ */ +/* $OpenBSD: conf.h,v 1.4 1997/05/06 19:07:36 kstailey Exp $ */ /* * Copyright (c) 1996 Christos Zoulas. All rights reserved. @@ -70,6 +70,13 @@ cdev_decl(cgsix); cdev_decl(cgeight); +cdev_decl(ipl); +#ifdef IPFILTER +#define NIPF 1 +#else +#define NIPF 0 +#endif + bdev_decl(xd); cdev_decl(xd); diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c index 891d58a7a46..94a4662ab43 100644 --- a/sys/arch/sparc/sparc/conf.c +++ b/sys/arch/sparc/sparc/conf.c @@ -167,8 +167,8 @@ struct cdevsw cdevsw[] = cdev_fb_init(NCGTHREE,cgthree), /* 55: /dev/cgthree */ cdev_notdef(), /* 56 */ cdev_notdef(), /* 57 */ - cdev_disk_init(NCD,cd), /* 58 SCSI CD-ROM */ - cdev_notdef(), /* 59 */ + cdev_disk_init(NCD,cd), /* 58: SCSI CD-ROM */ + cdev_gen_ipf(NIPF,ipl), /* 59: ip filtering log */ cdev_notdef(), /* 60 */ cdev_notdef(), /* 61 */ cdev_notdef(), /* 62 */ |