summaryrefslogtreecommitdiff
path: root/sys/arch/atari
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/atari
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/atari')
-rw-r--r--sys/arch/atari/atari/conf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/atari/atari/conf.c b/sys/arch/atari/atari/conf.c
index aec8d98976f..85b2c5287ba 100644
--- a/sys/arch/atari/atari/conf.c
+++ b/sys/arch/atari/atari/conf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.11 1995/11/30 00:57:33 jtc Exp $ */
+/* $OpenBSD: conf.c,v 1.4 1996/02/21 12:53:42 mickey Exp $ */
/*
* Copyright (c) 1991 The Regents of the University of California.
@@ -161,11 +161,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