mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Poll only while interrupt is disabled.
MFC: 3 days after
This commit is contained in:
parent
33662e369c
commit
06767d306b
1 changed files with 6 additions and 4 deletions
|
|
@ -516,10 +516,12 @@ fwohci_pci_add_child(device_t dev, int order, const char *name, int unit)
|
|||
* Clear the bus reset event flag to start transactions even when
|
||||
* interrupt is disabled during the boot process.
|
||||
*/
|
||||
DELAY(250); /* 2 cycles */
|
||||
s = splfw();
|
||||
fwohci_poll((void *)sc, 0, -1);
|
||||
splx(s);
|
||||
if (cold) {
|
||||
DELAY(250); /* 2 cycles */
|
||||
s = splfw();
|
||||
fwohci_poll((void *)sc, 0, -1);
|
||||
splx(s);
|
||||
}
|
||||
|
||||
return (child);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue