summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2001-02-21 10:24:21 +0000
committerkato <kato@FreeBSD.org>2001-02-21 10:24:21 +0000
commit810dfa179c8bb9f3e87e9c431ee519a686060502 (patch)
tree895a93923cb60d60ad0499f4339961317d7550f0 /sys/pc98
parent06313a166f031ca70ce9bd79a7fccac79a1c673e (diff)
downloadFreeBSD-src-810dfa179c8bb9f3e87e9c431ee519a686060502.zip
FreeBSD-src-810dfa179c8bb9f3e87e9c431ee519a686060502.tar.gz
Merged from sys/isa/sio.c revision 1.326.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/sio.c5
-rw-r--r--sys/pc98/pc98/sio.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index 0e32982..87f00dd 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -509,8 +509,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;
diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c
index 0e32982..87f00dd 100644
--- a/sys/pc98/pc98/sio.c
+++ b/sys/pc98/pc98/sio.c
@@ -509,8 +509,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;
OpenPOWER on IntegriCloud