diff options
Diffstat (limited to 'sys/dev/dgb/dgm.c')
-rw-r--r-- | sys/dev/dgb/dgm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/dgb/dgm.c b/sys/dev/dgb/dgm.c index e6eef8f..0e0bcfe 100644 --- a/sys/dev/dgb/dgm.c +++ b/sys/dev/dgb/dgm.c @@ -258,8 +258,9 @@ static struct cdevsw dgm_cdevsw = { /* maj */ CDEV_MAJOR, /* dump */ nodump, /* psize */ nopsize, - /* flags */ D_TTY, - /* bmaj */ -1 + /* flags */ D_TTY | D_KQFILTER, + /* bmaj */ -1, + /* kqfilter */ ttykqfilter, }; static speed_t dgmdefaultrate = TTYDEF_SPEED; |