diff options
author | Tejun Heo <htejun@gmail.com> | 2006-04-01 01:38:18 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-01 14:46:09 -0500 |
commit | e82cbdb9a3791f781462c9d00e3486e8fb7e58a8 (patch) | |
tree | 70c08be45f82a44e86a2889a16841ea58c89fa84 /init | |
parent | e8e0619f68bff8f39d98c46aac85ed1d4557ccfd (diff) | |
download | blackbird-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