summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2004-06-28 13:28:20 +0000
committernyan <nyan@FreeBSD.org>2004-06-28 13:28:20 +0000
commitb3df34e2f3829aa3a885164fae2e7e183ee7e9ba (patch)
treeb52762c7403f730a3e4500c184c1e7257d190238 /sys/pc98
parenta3311886ccc5a62fe651784b3bd17e4d6def9217 (diff)
downloadFreeBSD-src-b3df34e2f3829aa3a885164fae2e7e183ee7e9ba.zip
FreeBSD-src-b3df34e2f3829aa3a885164fae2e7e183ee7e9ba.tar.gz
Merged from sys/dev/sio/sio.c revision 1.444.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/sio.c3
-rw-r--r--sys/pc98/pc98/sio.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index 5895396..0e28e5d 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -2754,7 +2754,8 @@ more_intr:
recv_data = 0;
}
++com->bytes_in;
- if (com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar)
+ if (com->tp != NULL &&
+ com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar)
swi_sched(sio_fast_ih, 0);
ioptr = com->iptr;
if (ioptr >= com->ibufend)
diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c
index 5895396..0e28e5d 100644
--- a/sys/pc98/pc98/sio.c
+++ b/sys/pc98/pc98/sio.c
@@ -2754,7 +2754,8 @@ more_intr:
recv_data = 0;
}
++com->bytes_in;
- if (com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar)
+ if (com->tp != NULL &&
+ com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar)
swi_sched(sio_fast_ih, 0);
ioptr = com->iptr;
if (ioptr >= com->ibufend)
OpenPOWER on IntegriCloud