diff options
author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 1999-08-09 13:03:35 +0000 |
---|---|---|
committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 1999-08-09 13:03:35 +0000 |
commit | 91ec7ad5f78b955af4928c7050778094bca29e23 (patch) | |
tree | 713e04df3668d2903eacb2965610e07899e6a47c | |
parent | 28acbab4e01a9abc7eca0ca6229cd84267eedd30 (diff) | |
download | src-91ec7ad5f78b955af4928c7050778094bca29e23.tar.gz src-91ec7ad5f78b955af4928c7050778094bca29e23.zip |
Fixed checking a type of the interface.
Submitted by: Tomohiko Kurahashi <kura@tim.hi-ho.ne.jp>
Notes
Notes:
svn path=/head/; revision=49564
-rw-r--r-- | sys/pc98/cbus/sio.c | 4 | ||||
-rw-r--r-- | sys/pc98/pc98/sio.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index 26897072b0aa..bda5ad810477 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sio.c,v 1.99 1999/07/04 14:58:45 phk Exp $ + * $Id: sio.c,v 1.100 1999/08/09 10:35:02 phk Exp $ * from: @(#)com.c 7.5 (Berkeley) 5/16/91 * from: i386/isa sio.c,v 1.234 */ @@ -3633,7 +3633,7 @@ siostop(tp, rw) if (com->gone) return; #ifdef PC98 - if (IS_8251(com->pc98_if_type)) + if (!IS_8251(com->pc98_if_type)) port_shift = if_16550a_type[com->pc98_if_type & 0x0f].port_shift; #endif disable_intr(); diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c index 26897072b0aa..bda5ad810477 100644 --- a/sys/pc98/pc98/sio.c +++ b/sys/pc98/pc98/sio.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sio.c,v 1.99 1999/07/04 14:58:45 phk Exp $ + * $Id: sio.c,v 1.100 1999/08/09 10:35:02 phk Exp $ * from: @(#)com.c 7.5 (Berkeley) 5/16/91 * from: i386/isa sio.c,v 1.234 */ @@ -3633,7 +3633,7 @@ siostop(tp, rw) if (com->gone) return; #ifdef PC98 - if (IS_8251(com->pc98_if_type)) + if (!IS_8251(com->pc98_if_type)) port_shift = if_16550a_type[com->pc98_if_type & 0x0f].port_shift; #endif disable_intr(); |