diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2003-09-26 11:36:09 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2003-09-26 11:36:09 +0000 |
| commit | 3a6a55a60b4d77de58afadb4450f85c525cf5e67 (patch) | |
| tree | 1895eeaf91767ab9098943623587d97136e6c8a3 /sys | |
| parent | 2f06c3e7f2bfc8ee404005a01170e2b503bfb7c4 (diff) | |
Notes
Diffstat (limited to 'sys')
| -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 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 |
