summaryrefslogtreecommitdiff
path: root/sys/arch/pica
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-02-21 12:53:55 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-02-21 12:53:55 +0000
commitcfef66c33a8dd9172d051a09978ce1fc1a720826 (patch)
treef159e34b8d26242b3fd55a70ad4da4797d858f26 /sys/arch/pica
parent593b04c3018cbdccc2fcc82e43b356263c5a8509 (diff)
move cdev_gen_ipf() macro to the <sys/conf.h>, so the lkm
for ipl is possible and also, why it is in <machine/conf.c> while it (ipl) is in <net/*> ???
Diffstat (limited to 'sys/arch/pica')
-rw-r--r--sys/arch/pica/pica/conf.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/pica/pica/conf.c b/sys/arch/pica/pica/conf.c
index 34231534836..a2bbb6df944 100644
--- a/sys/arch/pica/pica/conf.c
+++ b/sys/arch/pica/pica/conf.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: conf.c,v 1.3 1996/02/21 12:53:51 mickey Exp $ */
+
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)conf.c 8.2 (Berkeley) 11/14/93
- * $Id: conf.c,v 1.2 1996/01/07 07:41:08 dm Exp $
+ * $Id: conf.c,v 1.3 1996/02/21 12:53:51 mickey Exp $
*/
#include <sys/param.h>
@@ -144,11 +146,6 @@ cdev_decl(pms);
/* open, close, read, ioctl */
cdev_decl(ipl);
-#define cdev_gen_ipf(c,n) { \
- dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \
- (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
- (dev_type_stop((*))) nullop, 0, (dev_type_select((*))) enodev, \
- (dev_type_mmap((*))) enodev, 0 }
#ifdef IPFILTER
#define NIPF 1
#else