summaryrefslogtreecommitdiff
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2003-09-26 11:36:09 +0000
committerBruce Evans <bde@FreeBSD.org>2003-09-26 11:36:09 +0000
commit3a6a55a60b4d77de58afadb4450f85c525cf5e67 (patch)
tree1895eeaf91767ab9098943623587d97136e6c8a3 /sys/dev/sio
parent2f06c3e7f2bfc8ee404005a01170e2b503bfb7c4 (diff)
Notes
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 7f8e586e3946..63e4aae55a88 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