summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-02-14 15:52:32 +0000
committersimokawa <simokawa@FreeBSD.org>2003-02-14 15:52:32 +0000
commit698ee2e6789b6b2f2f26cf785cfae18c8019550d (patch)
treead96c7a1d3c502e7c5e08117d8a2d5c55cde3065
parentd91a03aab2ffd1276c469ec70814c409043087f2 (diff)
downloadFreeBSD-src-698ee2e6789b6b2f2f26cf785cfae18c8019550d.zip
FreeBSD-src-698ee2e6789b6b2f2f26cf785cfae18c8019550d.tar.gz
Clear the bus reset event flag as soon as possible after
the initialization has completed to start transactions even when interrupt is disabled during the boot process.
-rw-r--r--sys/dev/firewire/fwohci_pci.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c
index 45d2646..4681b24 100644
--- a/sys/dev/firewire/fwohci_pci.c
+++ b/sys/dev/firewire/fwohci_pci.c
@@ -251,6 +251,15 @@ fwohci_pci_attach(device_t self)
return EIO;
}
+ /* XXX
+ * Clear the bus reset event flag to start transactions even when
+ * interrupt is disabled during the boot process.
+ */
+#if 0
+ DELAY(100);
+#endif
+ fwohci_intr((void *)sc);
+
return 0;
}
OpenPOWER on IntegriCloud