summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-03-24 09:25:31 +0300
committerJeff Garzik <jeff@garzik.org>2006-03-24 17:39:57 +0300
commit83206a2903fd2ddb1761d906b2b3b3de17ef87f1 (patch)
tree405de7b43809146ae27a52cad00a897369644f61 /include/linux/libata.h
parentfcef978f9d4bd6ec43f89031442ee205987a912a (diff)
downloadlinux-83206a2903fd2ddb1761d906b2b3b3de17ef87f1.tar.xz
[PATCH] libata: make ata_set_mode() responsible for failure handling
Make ata_set_mode() responsible for determining whether to take port or device offline on failure. ata_dev_set_xfermode() and ata_dev_set_mode() indicate error to the caller instead of disabling port directly on failure. Also, for consistency, ata_dev_present() check is done in ata_set_mode() instead of ata_dev_set_mode(). Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions