diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index 8c2d032668d5..9e10528a73a2 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.47 1998/01/08 10:50:06 kato Exp $ + * $Id: sio.c,v 1.48 1998/01/16 11:20:22 kato Exp $ */ #include "opt_comconsole.h" @@ -852,6 +852,7 @@ sioprobe(dev) } #ifdef PC98 + DELAY(10); /* * If the port is i8251 UART (internal, B98_01) */ @@ -880,6 +881,7 @@ sioprobe(dev) COM_INT_DISABLE tmp = ( inb( iod.ctrl ) & ~(IEN_Rx|IEN_TxEMP|IEN_Tx)); outb( iod.ctrl, tmp|IEN_TxEMP ); + DELAY(10); ret = isa_irq_pending(dev) ? 4 : 0; outb( iod.ctrl, tmp ); COM_INT_ENABLE diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c index 8c2d032668d5..9e10528a73a2 100644 --- a/sys/pc98/pc98/sio.c +++ b/sys/pc98/pc98/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.47 1998/01/08 10:50:06 kato Exp $ + * $Id: sio.c,v 1.48 1998/01/16 11:20:22 kato Exp $ */ #include "opt_comconsole.h" @@ -852,6 +852,7 @@ sioprobe(dev) } #ifdef PC98 + DELAY(10); /* * If the port is i8251 UART (internal, B98_01) */ @@ -880,6 +881,7 @@ sioprobe(dev) COM_INT_DISABLE tmp = ( inb( iod.ctrl ) & ~(IEN_Rx|IEN_TxEMP|IEN_Tx)); outb( iod.ctrl, tmp|IEN_TxEMP ); + DELAY(10); ret = isa_irq_pending(dev) ? 4 : 0; outb( iod.ctrl, tmp ); COM_INT_ENABLE