summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
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/amiga
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/amiga')
-rw-r--r--sys/arch/amiga/amiga/conf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/amiga/amiga/conf.c b/sys/arch/amiga/amiga/conf.c
index c123bd6e176..f8a77912664 100644
--- a/sys/arch/amiga/amiga/conf.c
+++ b/sys/arch/amiga/amiga/conf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.32 1995/09/30 01:52:37 chopps Exp $ */
+/* $OpenBSD: conf.c,v 1.3 1996/02/21 12:53:41 mickey Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -168,11 +168,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