commit | 0b8efb0a16a1915c507db5a9b9fb5ede082a68a2 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Fri Mar 24 15:25:31 2006 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Mar 24 09:39:57 2006 -0500 |
tree | 93cc3621d7c69ec55448e18d985369d327712e57 | |
parent | 1f7dd3e9d62b25c7b79f913f37c2242a61295de4 [diff] |
[PATCH] libata: implement ata_dev_disable() This patch implements ata_dev_disable() which prints a warning message and takes @dev offline. Currently, this is done by explicitly incrementing dev->class with case-by-case warning messages. Giving user clear indication when libata gives up will be more important as libata will be doing more retries. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>