]> err.no Git - linux-2.6/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)
commit91c4a2e09267b0ddc8e59d121e3748cd18675739
tree6f4d6adfddaf88f60fd2c1c29ce1785fda52cc52
parentd2e75dfffbe9e86e1d646264792ac9bcd2cc4267
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