aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2007-03-19 03:41:27 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2007-03-19 03:41:27 +0000
commit06767d306bc828148750c983dcb2d833fe567bc7 (patch)
tree4ab031da412d3e3010eddafe7a73c637dd94d2f8 /sys/dev/firewire
parent33662e369c8ab09e07979d375ebcbe06d2f4657c (diff)
Notes
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 56baf872b6ea9..d3224a05c544a 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);
}