summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umodem.c
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2001-02-26 04:23:21 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2001-02-26 04:23:21 +0000
commitd2180fd16490150b692c1f687ae68f4eea73e83a (patch)
treef210262f6fae822780014bab8730fc47c1309845 /sys/dev/usb/umodem.c
parentd1c1cd368b37cc1fb1392285e4ead218530c30a6 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/umodem.c')
-rw-r--r--sys/dev/usb/umodem.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index 0ba4ab387dbf..cb2849f2ab38 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -167,8 +167,9 @@ static struct cdevsw umodem_cdevsw = {
/* maj */ UMODEM_CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
- /* flags */ D_TTY,
- /* bmaj */ -1
+ /* flags */ D_TTY | D_KQFILTER,
+ /* bmaj */ -1,
+ /* kqfilter */ ttykqfilter,
};
#endif