diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-10-09 04:10:37 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-10-09 04:10:37 +0000 |
commit | 99cb9d50937c5140258a3ff7da59b5c83fe41162 (patch) | |
tree | 7fe4932ec4a9891b9ecab67274b446e4c0924d8c /sys | |
parent | 6814c17312e26f40bde1dc132910f7fc32356d2b (diff) |
no need for lkm dummy
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/conf.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 3876df294b1..22ae1e4fac7 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.129 2014/10/09 04:04:27 tedu Exp $ */ +/* $OpenBSD: conf.h,v 1.130 2014/10/09 04:10:36 tedu Exp $ */ /* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */ /*- @@ -126,11 +126,6 @@ extern struct bdevsw bdevsw[]; dev_init(c,n,strategy), (dev_type_ioctl((*))) enodev, \ (dev_type_dump((*))) enodev, 0 } -#define bdev_lkm_dummy() { \ - (dev_type_open((*))) enodev, (dev_type_close((*))) enodev, \ - (dev_type_strategy((*))) enodev, (dev_type_ioctl((*))) enodev, \ - (dev_type_dump((*))) enodev, 0 } - #define bdev_notdef() { \ (dev_type_open((*))) enodev, (dev_type_close((*))) enodev, \ (dev_type_strategy((*))) enodev, (dev_type_ioctl((*))) enodev, \ @@ -214,12 +209,6 @@ extern struct cdevsw cdevsw[]; (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \ (dev_type_mmap((*))) enodev } -#define cdev_lkm_dummy() { \ - (dev_type_open((*))) enodev, (dev_type_close((*))) enodev, \ - (dev_type_read((*))) enodev, (dev_type_write((*))) enodev, \ - (dev_type_ioctl((*))) enodev, (dev_type_stop((*))) enodev, \ - 0, seltrue, (dev_type_mmap((*))) enodev } - #define cdev_notdef() { \ (dev_type_open((*))) enodev, (dev_type_close((*))) enodev, \ (dev_type_read((*))) enodev, (dev_type_write((*))) enodev, \ @@ -310,13 +299,6 @@ extern struct cdevsw cdevsw[]; 0, 0, dev_init(c,n,kqfilter) } /* open, close, ioctl */ -#define cdev_lkm_init(c,n) { \ - dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \ - (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \ - (dev_type_stop((*))) enodev, 0, selfalse, \ - (dev_type_mmap((*))) enodev } - -/* open, close, ioctl */ #define cdev_ch_init(c,n) { \ dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \ (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \ |