diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 18:27:46 +0900 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 18:27:46 +0900 |
commit | d7bb4cc7575929a60b0a718daa1bce87bea9a9cc (patch) | |
tree | ff4cd9715f5ba608795bc4a1b7b86ffd2cf4f99c /drivers/scsi/libata-eh.c | |
parent | a9beec95352ff675f27d74c3cb97dc258d022497 (diff) |
[PATCH] libata-hp-prep: implement sata_phy_debounce()
With hotplug, PHY always needs to be debounced before a reset as any
reset might find new devices. Extract PHY waiting code from
sata_phy_resume() and extend it to include SStatus debouncing. Note
that sata_phy_debounce() is superset of what used to be done inside
sata_phy_resume().
Three default debounce timing parameters are defined to be used by
hot/boot plug. As resume failure during probing will be properly
handled as errors, timeout doesn't have to be long as before.
probeinit() uses the same timeout to retain the original behavior.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/libata-eh.c')
0 files changed, 0 insertions, 0 deletions