Name
ata_device_shutdown —
send Standby Immediate command to drive
Synopsis
int ata_device_shutdown (
struct ata_port * ap, struct ata_device * dev)
;
Arguments
ap
target ata_port
dev
target device on the ata_port
Description
This command makes it safe to power-off a drive.
Otherwise the heads may be flying at the wrong place
when the power is removed.