ahci: separate out ahci_kick_engine()
authorTejun Heo <htejun@gmail.com>
Mon, 16 Jul 2007 05:29:39 +0000 (14:29 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 20 Jul 2007 12:02:10 +0000 (08:02 -0400)
commitd2e75dfffbe9e86e1d646264792ac9bcd2cc4267
treebe742ccdbefc5ddb0db031d9fd95717d7641b950
parent2cbb79ebbd4be07041368da5379a64f89f8ad518
ahci: separate out ahci_kick_engine()

Separate out stop_engine - CLO - start_engine sequence from
ahci_softreset() and ahci_clo() into ahci_reset_engine() and use it in
ahci_softreset() and ahci_post_internal_cmd().  The function will also
be used to prepare for and clean up after PMP register access
commands.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c