aboutsummaryrefslogtreecommitdiff
path: root/include/scsi/scsi_host.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-03-24 15:25:31 +0900
committerJeff Garzik <jeff@garzik.org>2006-03-24 09:39:57 -0500
commit83206a2903fd2ddb1761d906b2b3b3de17ef87f1 (patch)
tree405de7b43809146ae27a52cad00a897369644f61 /include/scsi/scsi_host.h
parentfcef978f9d4bd6ec43f89031442ee205987a912a (diff)
[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/scsi/scsi_host.h')
0 files changed, 0 insertions, 0 deletions