]> git.baikalelectronics.ru Git - kernel.git/commit
ahci: separate out ahci_exec_polled_cmd()
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)
commite2d07f2a0aec25bb3e1a5a19dad0580e9852791e
tree6f4d6adfddaf88f60fd2c1c29ce1785fda52cc52
parentf016d765d80dfe2a8aeffdd2cf6df9bf5974e332
ahci: separate out ahci_exec_polled_cmd()

Separate out ahci_exec_polled_cmd() from ahci_softreset().  This will
be used to implement ahci_pmp_read/write().  ahci_exec_polled_cmd()
performs reset_engine before returning if the command fails (times
out).  This is to improve robustness.

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