Poll only while interrupt is disabled.

MFC: 3 days after
This commit is contained in:
Hidetoshi Shimokawa 2007-03-19 03:41:27 +00:00
parent 33662e369c
commit 06767d306b

View File

@ -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);
}