diff options
author | nyan <nyan@FreeBSD.org> | 1999-08-09 13:03:35 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 1999-08-09 13:03:35 +0000 |
commit | 4c255fd09d5b1cbe50ed33fde798cebdba6300c9 (patch) | |
tree | 201316f440c1795e2522a4b4dffa4682b3f018d3 /sys/pc98 | |
parent | 7572f0271600c79c014a5d65358a8e5a92ae6c71 (diff) | |
download | FreeBSD-src-4c255fd09d5b1cbe50ed33fde798cebdba6300c9.zip FreeBSD-src-4c255fd09d5b1cbe50ed33fde798cebdba6300c9.tar.gz |
Fixed checking a type of the interface.
Submitted by: Tomohiko Kurahashi <kura@tim.hi-ho.ne.jp>
Diffstat (limited to 'sys/pc98')
-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 2689707..bda5ad8 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 2689707..bda5ad8 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(); |