]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata-sff: handle controllers w/o ctl register
authorTejun Heo <htejun@gmail.com>
Thu, 6 Mar 2008 04:12:54 +0000 (13:12 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 11 Mar 2008 00:50:36 +0000 (20:50 -0400)
commitf659f0e4480bb82e6dcf3db8ba1e8485444084e5
tree23ede4117c50f6794628fe5084bfd91027be12e3
parenteec59f76e9010e22d5736cf1907af4a92067522e
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>
drivers/ata/libata-sff.c