commit | 5040ab67a2c6d5710ba497dc52a8f7035729d7b0 | [log] [tgz] |
---|---|---|
author | Tejun Heo <[email protected]> | Mon Jan 11 11:14:44 2010 +0900 |
committer | Jeff Garzik <[email protected]> | Tue Jan 12 14:34:14 2010 -0500 |
tree | dea2290e50111fde938bfcbb83de0377e7c4d94a | |
parent | 0b67c7439fe2a5d76602de36854c88e2beab00b0 [diff] |
libata: retry link resume if necessary Interestingly, when SIDPR is used in ata_piix, writes to DET in SControl sometimes get ignored leading to detection failure. Update sata_link_resume() such that it reads back SControl after clearing DET and retry if it's not clear. Signed-off-by: Tejun Heo <[email protected]> Reported-by: fengxiangjun <[email protected]> Reported-by: Jim Faulkner <[email protected]> Cc: [email protected] Signed-off-by: Jeff Garzik <[email protected]>