diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2020-06-29 09:26:13 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2020-06-29 09:26:13 +0000 |
commit | 980427450552cd0545303c9e314c76fe2cdc680e (patch) | |
tree | b2f3b51cfe6e5685ca20a191f4ada029fc0ef265 | |
parent | f0f646a0f155120cebf29492898c70704e9c6442 (diff) |
ipmi: add a matching kqfilter filter for `seltrue' as well, allowing us
to keep the behavior when switching poll(2) to use kqueue filters.
From mpi@
-rw-r--r-- | sys/sys/conf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h index e0b270eca88..42416fe61cc 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.153 2020/06/29 09:25:23 sthen Exp $ */ +/* $OpenBSD: conf.h,v 1.154 2020/06/29 09:26:12 sthen Exp $ */ /* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */ /*- @@ -473,8 +473,8 @@ extern struct cdevsw cdevsw[]; #define cdev_ipmi_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, seltrue, \ - (dev_type_mmap((*))) enodev, 0 } + (dev_type_stop((*))) enodev, 0, seltrue, (dev_type_mmap((*))) enodev, \ + 0, 0, seltrue_kqfilter } /* open, close, ioctl, mmap */ #define cdev_kcov_init(c,n) { \ |