summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-05-20 06:46:58 +0000
committerphk <phk@FreeBSD.org>1998-05-20 06:46:58 +0000
commit9aa9ab1fb294db7eecd9ff230110edec93e70e0f (patch)
treeaaf412235c586580db35e9875e5d10587c0842e9 /sys/isa
parent2e1caaecd69015c0e5a1109553704060da48004d (diff)
downloadFreeBSD-src-9aa9ab1fb294db7eecd9ff230110edec93e70e0f.zip
FreeBSD-src-9aa9ab1fb294db7eecd9ff230110edec93e70e0f.tar.gz
LoadSoftModem() routine at sio.c does not trap general serial I/Os.
It fauls to probe eather DSI Modem or others. PR: 4657 Reviewed by: phk Submitted by: Kenji Saito <marukun@mx2.nisiq.net>
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/sio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 97659e1..aa8641a 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/sio.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
- * $Id: sio.c,v 1.200 1998/05/04 10:35:13 phk Exp $
+ * $Id: sio.c,v 1.201 1998/05/13 07:26:55 phk Exp $
*/
#include "opt_comconsole.h"
@@ -2836,7 +2836,7 @@ LoadSoftModem(int unit, int base_io, u_long size, u_char *ptr)
/*
* First see if it is a DSI SoftModem
*/
- if(!((inb(base_io+7) ^ inb(base_io+7) & 0x80)))
+ if(!((inb(base_io+7) ^ inb(base_io+7)) & 0x80))
return ENODEV;
data_0188 = inb(base_io+4);
OpenPOWER on IntegriCloud