summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
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/mvme68k
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/mvme68k')
-rw-r--r--sys/arch/mvme68k/mvme68k/conf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/mvme68k/mvme68k/conf.c b/sys/arch/mvme68k/mvme68k/conf.c
index f13dcbfd465..6426ca616e3 100644
--- a/sys/arch/mvme68k/mvme68k/conf.c
+++ b/sys/arch/mvme68k/mvme68k/conf.c
@@ -1,4 +1,4 @@
-/* $Id: conf.c,v 1.3 1996/01/07 07:41:05 dm Exp $ */
+/* $OpenBSD: conf.c,v 1.4 1996/02/21 12:53:48 mickey Exp $ */
/*-
* Copyright (c) 1995 Theo de Raadt
@@ -197,11 +197,6 @@ cdev_decl(lkm);
/* 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