Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

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.

AUTHOR

       Jeff Garzik.