diff options
-rw-r--r-- | sys/dev/sio/sio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 7f8e586..63e4aae 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -694,7 +694,10 @@ sioprobe(dev, xrid, rclk, noprobe) * it's unlikely to do more than allow the null byte out. */ sio_setreg(com, com_data, 0); - DELAY((1 + 2) * 1000000 / (SIO_TEST_SPEED / 10)); + if (iobase == siocniobase) + DELAY((1 + 2) * 1000000 / (comdefaultrate / 10)); + else + DELAY((1 + 2) * 1000000 / (SIO_TEST_SPEED / 10)); /* * Turn off loopback mode so that the interrupt gate works again |