commit | 91c4a2e09267b0ddc8e59d121e3748cd18675739 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Mon Jul 16 14:29:39 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Jul 20 08:02:10 2007 -0400 |
tree | 6f4d6adfddaf88f60fd2c1c29ce1785fda52cc52 | |
parent | d2e75dfffbe9e86e1d646264792ac9bcd2cc4267 [diff] |
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>