mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Back out last bad commit (again!)
This commit is contained in:
parent
f36cfd49ad
commit
d8af98c29e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128020
@ -1788,20 +1788,9 @@ siointr1(com)
|
||||
}
|
||||
}
|
||||
line_status = inb(com->line_status_port);
|
||||
if (line_status == 0xff) {
|
||||
printf("sio%d: spouting nonsense -- disabled.\n",
|
||||
com->unit);
|
||||
com->gone = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
/* input event? (check first to help avoid overruns) */
|
||||
while (line_status & LSR_RCV_MASK) {
|
||||
if (line_status == 0xff) {
|
||||
printf("sio%d: linestats bogus -- disabled.\n",
|
||||
com->unit);
|
||||
com->gone = 1;
|
||||
return;
|
||||
}
|
||||
/* break/unnattached error bits or real input? */
|
||||
if (!(line_status & LSR_RXRDY))
|
||||
recv_data = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user