Fixes apparent hang at probe time due to an extremely long timeout
(experienced with an Opti931/ISA PnP card). Approved by: cg
This commit is contained in:
parent
b83a42d36f
commit
5a8c4e90b9
@ -821,7 +821,7 @@ ad_wait_init(struct mss_info *mss, int x)
|
||||
{
|
||||
int arg = x, n = 0; /* to shut up the compiler... */
|
||||
for (; x > 0; x--)
|
||||
if ((n = io_rd(mss, MSS_INDEX)) & MSS_IDXBUSY) DELAY(10000);
|
||||
if ((n = io_rd(mss, MSS_INDEX)) & MSS_IDXBUSY) DELAY(10);
|
||||
else return n;
|
||||
printf("AD_WAIT_INIT FAILED %d 0x%02x\n", arg, n);
|
||||
return n;
|
||||
|
Loading…
Reference in New Issue
Block a user