Added a 10ms delay after the HW-reset in bt_init(). This makes some funky

old boards more happy.
Reviewed by:	Julian
Submitted by:	Julian
This commit is contained in:
Poul-Henning Kamp 1994-10-12 04:15:30 +00:00
parent 8f7b2bb2fb
commit 1915df31ae
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3540

View File

@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: bt742a.c,v 1.25 1994/09/28 16:23:13 jkh Exp $
* $Id: bt742a.c,v 1.26 1994/10/10 00:46:09 jkh Exp $
*/
/*
@ -1054,6 +1054,8 @@ bt_init(unit)
outb(BT_CTRL_STAT_PORT, BT_HRST | BT_SRST);
DELAY(10000);
for (i = BT_RESET_TIMEOUT; i; i--) {
sts = inb(BT_CTRL_STAT_PORT);
if (sts == (BT_IDLE | BT_INIT))