]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf016d765d80dfe2a8aeffdd2cf6df9bf5974e332
treebe742ccdbefc5ddb0db031d9fd95717d7641b950
parentad92af502e8e1edbe1501506a48c4d4c0e898f60
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