commit | e1211e3fa7fd05ff0d4f597fd37e40de8acc6784 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Sat Apr 01 01:38:18 2006 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Sat Apr 01 12:33:45 2006 -0500 |
tree | 672018d7facf99ad4d45b09e2e2980accebdfe38 | |
parent | 9974e7cc6c8b8ea796c92cdf28db93e4579a4000 [diff] |
[PATCH] libata: implement ata_dev_enabled and disabled() This patch renames ata_dev_present() to ata_dev_enabled() and adds ata_dev_disabled(). This is to discern the state where a device is present but disabled from not-present state. This disctinction is necessary when configuring transfer mode because device selection timing must not be violated even if a device fails to configure. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>