summaryrefslogtreecommitdiff
path: root/sys/dev
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
parentd1c1cd368b37cc1fb1392285e4ead218530c30a6 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/si/si.c5
-rw-r--r--sys/dev/streams/streams.c3
-rw-r--r--sys/dev/usb/umodem.c5
3 files changed, 8 insertions, 5 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 603dcf698d08..1acfb290a9d7 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -131,8 +131,9 @@ static struct cdevsw si_cdevsw = {
/* maj */ CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
- /* flags */ D_TTY,
- /* bmaj */ -1
+ /* flags */ D_TTY | D_KQFILTER,
+ /* bmaj */ -1,
+ /* kqfilter */ ttykqfilter,
};
static int si_Nports;
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index f4c89e06d0ee..4aa4c755b9bb 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -99,7 +99,8 @@ dev_t dt_ptm, dt_arp, dt_icmp, dt_ip, dt_tcp, dt_udp, dt_rawip,
dt_unix_dgram, dt_unix_stream, dt_unix_ord_stream;
static struct fileops svr4_netops = {
- soo_read, soo_write, soo_ioctl, soo_poll, soo_stat, svr4_soo_close
+ soo_read, soo_write, soo_ioctl, soo_poll, sokqfilter,
+ soo_stat, svr4_soo_close
};
#define CDEV_MAJOR 103
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