summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/fwohci_pci.c
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-01-31 14:11:22 +0000
committersimokawa <simokawa@FreeBSD.org>2003-01-31 14:11:22 +0000
commit30013fce110fa84157697face2a7b27ba4ac3fae (patch)
tree909bbd4187f8e696609f2c0f451bd3826ff4c46b /sys/dev/firewire/fwohci_pci.c
parent02d8e2b208323d19b6fc75fb1a39d03f8cacbd29 (diff)
downloadFreeBSD-src-30013fce110fa84157697face2a7b27ba4ac3fae.zip
FreeBSD-src-30013fce110fa84157697face2a7b27ba4ac3fae.tar.gz
SBP related changes.
- Issue LOGOUT command on detach and shutdown. - Rename some functions.
Diffstat (limited to 'sys/dev/firewire/fwohci_pci.c')
-rw-r--r--sys/dev/firewire/fwohci_pci.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c
index f96a9cf..7ace8b7 100644
--- a/sys/dev/firewire/fwohci_pci.c
+++ b/sys/dev/firewire/fwohci_pci.c
@@ -262,7 +262,7 @@ fwohci_pci_detach(device_t self)
s = splfw();
- fwohci_shutdown(sc, self);
+ fwohci_stop(sc, self);
bus_generic_detach(self);
/* disable interrupts that might have been switched on */
@@ -314,7 +314,7 @@ fwohci_pci_suspend(device_t dev)
err = bus_generic_suspend(dev);
if (err)
return err;
- /* fwohci_shutdown(dev); */
+ /* fwohci_stop(dev); */
return 0;
}
@@ -335,7 +335,8 @@ fwohci_pci_shutdown(device_t dev)
{
fwohci_softc_t *sc = device_get_softc(dev);
- fwohci_shutdown(sc, dev);
+ bus_generic_shutdown(dev);
+ fwohci_stop(sc, dev);
return 0;
}
OpenPOWER on IntegriCloud