diff options
author | nyan <nyan@FreeBSD.org> | 2005-09-14 12:39:06 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2005-09-14 12:39:06 +0000 |
commit | a40d5ee7726e4fd0241713083a83bc7e7467499f (patch) | |
tree | 3a8e44e951520ce285d67f255e34271a6e582f67 /sys/pc98/cbus/sio.c | |
parent | d050e6481b2b36982b29527ae13c7c55b1737d2e (diff) | |
download | FreeBSD-src-a40d5ee7726e4fd0241713083a83bc7e7467499f.zip FreeBSD-src-a40d5ee7726e4fd0241713083a83bc7e7467499f.tar.gz |
Remove EPSON PC-386 note A/W/AE/WR support.
Diffstat (limited to 'sys/pc98/cbus/sio.c')
-rw-r--r-- | sys/pc98/cbus/sio.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index 007e1b2..b1accbf 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -945,9 +945,6 @@ sioprobe(dev, xrid, rclk, noprobe) */ result = 0; } - if (epson_machine_id==0x20) { /* XXX */ - result = 0; - } bus_release_resource(dev, SYS_RES_IOPORT, rid, port); if (result) { device_set_softc(dev, NULL); @@ -4129,6 +4126,7 @@ com_cflag_and_speed_set( struct com_s *com, int cflag, int speed) { int cfcr=0; int previnterrupt; + int tmp; u_int count; if (pc98_ttspeedtab(com, speed, &count) != 0) @@ -4165,11 +4163,9 @@ com_cflag_and_speed_set( struct com_s *com, int cflag, int speed) else cfcr |= MOD8251_CLKX16; - if (epson_machine_id != 0x20) { /* XXX */ - int tmp; - while (!((tmp = inb(com->sts_port)) & STS8251_TxEMP)) - ; - } + while (!((tmp = inb(com->sts_port)) & STS8251_TxEMP)) + ; + /* set baud rate from ospeed */ pc98_set_baud_rate( com, count ); |