mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 14:23:55 +00:00
Merged from sys/dev/sio/sio.c revision 1.444.
This commit is contained in:
parent
25a15c6e3a
commit
3fdb25139d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131237
|
@ -2754,7 +2754,8 @@ status_read:;
|
|||
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)
|
||||
|
|
|
@ -2754,7 +2754,8 @@ status_read:;
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue