summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-04-01 01:38:18 +0900
committerJeff Garzik <jeff@garzik.org>2006-04-01 14:46:09 -0500
commite82cbdb9a3791f781462c9d00e3486e8fb7e58a8 (patch)
tree70c08be45f82a44e86a2889a16841ea58c89fa84 /init
parente8e0619f68bff8f39d98c46aac85ed1d4557ccfd (diff)
downloadblackbird-obmc-linux-e82cbdb9a3791f781462c9d00e3486e8fb7e58a8.tar.gz
blackbird-obmc-linux-e82cbdb9a3791f781462c9d00e3486e8fb7e58a8.zip
[PATCH] libata: don't disable devices from ata_set_mode()
When ata_set_mode() fails on a device, make ata_set_mode() return error code and pointer to the device instead of disabling it directly. This gives more control to higher level driving logic. This patch does not change the end result (configured transfer mode) although it may make libata repeat mode configuration to the peer of a failing device. Later ata_bus_probe() rewrite will make full use of this change. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud