Name

ata_device_resume — wakeup a previously suspended devices

Synopsis

int ata_device_resume (struct ata_port * ap, struct ata_device * dev);

Arguments

ap

port the device is connected to

dev

the device to resume

Description

Kick the drive back into action, by sending it an idle immediate command and making sure its transfer mode matches between drive and host.