diff options
author | simokawa <simokawa@FreeBSD.org> | 2003-06-27 00:27:33 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2003-06-27 00:27:33 +0000 |
commit | 4f840cc67f734fba8fbac977ba2957ae48743ac4 (patch) | |
tree | 13a2cc875ac6c9cca2cda99151d4bc90abb94b80 /sys/dev/firewire/fwohci_pci.c | |
parent | 916e1418d3b1820a237cd23e0ea709f141d64ae9 (diff) | |
download | FreeBSD-src-4f840cc67f734fba8fbac977ba2957ae48743ac4.zip FreeBSD-src-4f840cc67f734fba8fbac977ba2957ae48743ac4.tar.gz |
- Use fwohci_poll() instead of fwohci_intr() to process the first bus reest.
- Wait 2 cycles before starting the process for fast machines.
Diffstat (limited to 'sys/dev/firewire/fwohci_pci.c')
-rw-r--r-- | sys/dev/firewire/fwohci_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c index 9898aba..6f45152 100644 --- a/sys/dev/firewire/fwohci_pci.c +++ b/sys/dev/firewire/fwohci_pci.c @@ -317,8 +317,9 @@ fwohci_pci_attach(device_t self) * 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_intr((void *)sc); + fwohci_poll((void *)sc, 0, -1); splx(s); return 0; |