summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2007-03-19 03:41:27 +0000
committersimokawa <simokawa@FreeBSD.org>2007-03-19 03:41:27 +0000
commit3de30923f831d16597b71d09724df4700a3dad03 (patch)
tree4ab031da412d3e3010eddafe7a73c637dd94d2f8 /sys/dev/firewire
parent60fa0cb729b564b2c9fd67ba0d8d624f4e70a1b6 (diff)
downloadFreeBSD-src-3de30923f831d16597b71d09724df4700a3dad03.zip
FreeBSD-src-3de30923f831d16597b71d09724df4700a3dad03.tar.gz
Poll only while interrupt is disabled.
MFC: 3 days after
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r--sys/dev/firewire/fwohci_pci.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c
index 56baf87..d3224a0 100644
--- a/sys/dev/firewire/fwohci_pci.c
+++ b/sys/dev/firewire/fwohci_pci.c
@@ -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);
}
OpenPOWER on IntegriCloud