diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-07-21 15:40:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-07-21 15:40:05 +0000 |
commit | be10e0d3b7db5423875ff7e3151acb0ceefb02cc (patch) | |
tree | 82aea4408cd97ac89e042e71b69d87ce0da8a8ca /sys/arch/sparc64 | |
parent | 104e86c5743e8304b65c89f63fc9a8e1f04bc61a (diff) |
Fix more cdev initializations which were using enodev for poll; ok kettenis
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/include/conf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/conf.h b/sys/arch/sparc64/include/conf.h index 77d550a58cd..331d2fdb0c1 100644 --- a/sys/arch/sparc64/include/conf.h +++ b/sys/arch/sparc64/include/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.20 2009/05/10 12:34:04 kettenis Exp $ */ +/* $OpenBSD: conf.h,v 1.21 2010/07/21 15:40:04 deraadt Exp $ */ /* $NetBSD: conf.h,v 1.9 2001/03/26 12:33:26 lukem Exp $ */ /*- @@ -40,7 +40,7 @@ cdev_decl(openprom); #define cdev_openprom_init(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_poll((*))) enodev, \ + (dev_type_stop((*))) nullop, 0, selfalse, \ (dev_type_mmap((*))) enodev } cdev_decl(uperf); @@ -49,7 +49,7 @@ cdev_decl(uperf); #define cdev_uperf_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((*))) nullop, 0, (dev_type_poll((*))) enodev, \ + (dev_type_stop((*))) nullop, 0, selfalse, \ (dev_type_mmap((*))) enodev } #define cdev_gen_init(c,n) { \ |