diff options
author | nyan <nyan@FreeBSD.org> | 1999-08-17 04:33:11 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 1999-08-17 04:33:11 +0000 |
commit | 4b60bc4b357c96d624a7d5aa1f4ec5f15d8f55b8 (patch) | |
tree | dbe41c70525debba267b0fbf7167ec4cc1b07149 /sys/pc98/cbus | |
parent | 075745f2e2fb52fde8ec60e7f50fb9fac232769b (diff) | |
download | FreeBSD-src-4b60bc4b357c96d624a7d5aa1f4ec5f15d8f55b8.zip FreeBSD-src-4b60bc4b357c96d624a7d5aa1f4ec5f15d8f55b8.tar.gz |
Use V-FAST mode register to check whether it supports V-FST mode.
Submitted by: WATANABE Takuya <sodium@xuni.ne.jp>
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r-- | sys/pc98/cbus/sio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index bda5ad8..6d66b30 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.100 1999/08/09 10:35:02 phk Exp $ + * $Id: sio.c,v 1.101 1999/08/09 13:03:35 nyan Exp $ * from: @(#)com.c 7.5 (Berkeley) 5/16/91 * from: i386/isa sio.c,v 1.234 */ @@ -4965,10 +4965,10 @@ pc98_check_if_type(device_t dev, struct siodev *iod) iod->irq = 4; /* XXX check new internal port. */ - outb(0x138, 0); + outb(0x13a, 0); DELAY(10); for (tmp = 0; tmp < 100; tmp++) { - if ((inb(0x138) & 1) == 0) { + if ((inb(0x13a) & 0x80) == 0) { PC98SIO_baud_rate_port(if_type) = 0x13a; if_8251_type[if_type].name = " (internal fast)"; if_8251_type[if_type].speedtab = pc98fast_speedtab; |