summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/fwohci_pci.c
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-01-01 04:23:54 +0000
committersimokawa <simokawa@FreeBSD.org>2003-01-01 04:23:54 +0000
commit230497406eb86bfe10e8082d585e0fdafe68baf6 (patch)
tree63d5bda907d9025b3bfb9aa3e58badbc3e7a6fae /sys/dev/firewire/fwohci_pci.c
parent47963ec0410e42bb2a947f880e0b8d97f50cdee9 (diff)
downloadFreeBSD-src-230497406eb86bfe10e8082d585e0fdafe68baf6.zip
FreeBSD-src-230497406eb86bfe10e8082d585e0fdafe68baf6.tar.gz
- Retry phy access when the wait-loop count is exhausted.
- Free allocated memory when detaching. - Detect contigmalloc failure.
Diffstat (limited to 'sys/dev/firewire/fwohci_pci.c')
-rw-r--r--sys/dev/firewire/fwohci_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c
index ff96c28..3d5f011 100644
--- a/sys/dev/firewire/fwohci_pci.c
+++ b/sys/dev/firewire/fwohci_pci.c
@@ -288,6 +288,8 @@ fwohci_pci_detach(device_t self)
sc->bst = 0;
sc->bsh = 0;
}
+
+ fwohci_detach(sc, self);
splx(s);
return 0;
OpenPOWER on IntegriCloud