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/dev/cy | |
| parent | 2c9ba841c61cbced165336bd4e2b21be82cfdcd0 (diff) | |
Notes
Diffstat (limited to 'sys/dev/cy')
| -rw-r--r-- | sys/dev/cy/cy.c | 5 | ||||
| -rw-r--r-- | sys/dev/cy/cy_isa.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index 9a56e2df1010..7d7671d9419b 100644 --- a/sys/dev/cy/cy.c +++ b/sys/dev/cy/cy.c @@ -405,8 +405,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, }; static int comconsole = -1; diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c index 9a56e2df1010..7d7671d9419b 100644 --- a/sys/dev/cy/cy_isa.c +++ b/sys/dev/cy/cy_isa.c @@ -405,8 +405,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, }; static int comconsole = -1; |
