diff options
author | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-02-15 16:34:11 +0000 |
---|---|---|
committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-02-15 16:34:11 +0000 |
commit | 608a3ce62a98c42e5d415af6d6dc98f2bf4e615b (patch) | |
tree | a9aab1f038a4aab4a0d31919948c7c964e5b85d6 /sys/isa | |
parent | 2c9ba841c61cbced165336bd4e2b21be82cfdcd0 (diff) | |
download | src-608a3ce62a98c42e5d415af6d6dc98f2bf4e615b.tar.gz src-608a3ce62a98c42e5d415af6d6dc98f2bf4e615b.zip |
Extend kqueue down to the device layer.
Backwards compatible approach suggested by: peter
Notes
Notes:
svn path=/head/; revision=72521
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/sio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c index ee3d4f180cf6..d8f02c9b5cee 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -388,8 +388,9 @@ static struct cdevsw sio_cdevsw = { /* maj */ CDEV_MAJOR, /* dump */ nodump, /* psize */ nopsize, - /* flags */ D_TTY, - /* bmaj */ -1 + /* flags */ D_TTY | D_KQFILTER, + /* bmaj */ -1, + /* kqfilter */ ttykqfilter, }; int comconsole = -1; |