ata_scsi_device_suspend(9)

ata_scsi_device_suspend9

Suspend ata device associated with sdev

Usage

int ata_scsi_device_suspend(struct scsi_device * sdev, pm_message_t state);

Arguments

sdev

the SCSI device to suspend

state

target power management state

Overview

Request suspend EH action on the ATA device associated with sdev and wait for the operation to complete.

Locking

Kernel thread context (may sleep).

Returns

0 on success, -errno otherwise.

Author

Jeff Garzik

Author.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.