summaryrefslogtreecommitdiff
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-04-07 21:56:20 +0000
committerWarner Losh <imp@FreeBSD.org>2004-04-07 21:56:20 +0000
commitd8af98c29ed81257aada4c422bdadcce5f873a71 (patch)
tree7dfc145ffeb3770a3f8dbbe40a7ab5203425cb87 /sys/dev/sio
parentf36cfd49adb62472fd7009ecd4f0927c126ff785 (diff)
Notes
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 64a49bbe3cc7..192973d8061a 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -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;