summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-04-07 05:30:54 +0000
committerimp <imp@FreeBSD.org>2004-04-07 05:30:54 +0000
commita51660ff9f57ce3ea43df608511b1f9a9c55e5e5 (patch)
treec19b6b89dfe8e2164427ffcc1ffd4ddf51961946 /sys/dev/sio
parent279064424fe1354510b6f7489767faba5aa87a5f (diff)
downloadFreeBSD-src-a51660ff9f57ce3ea43df608511b1f9a9c55e5e5.zip
FreeBSD-src-a51660ff9f57ce3ea43df608511b1f9a9c55e5e5.tar.gz
Last change was a bogus
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 9bf4dfa..6415fb5 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -1792,20 +1792,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;
OpenPOWER on IntegriCloud