commit | f659f0e4480bb82e6dcf3db8ba1e8485444084e5 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Thu Mar 06 13:12:54 2008 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Mon Mar 10 20:50:36 2008 -0400 |
tree | 23ede4117c50f6794628fe5084bfd91027be12e3 | |
parent | eec59f76e9010e22d5736cf1907af4a92067522e [diff] |
libata-sff: handle controllers w/o ctl register SFF incorrectly assumed that ctl register is available for all controllers while some old SFF controllers don't have ctl register. Make SFF handle controllers w/o ctl register by conditionalizing ctl register access and softreset method. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Jeff Garzik <jeff@garzik.org>