From c26f4c716890930bf3180af2ceca6c2c16ed6b5b Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Fri, 14 Feb 2003 15:52:32 +0000 Subject: [PATCH] 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. --- sys/dev/firewire/fwohci_pci.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c index 45d264679351..4681b2433b5b 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; }