diff options
author | Tejun Heo <htejun@gmail.com> | 2006-04-02 20:53:28 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-02 10:02:57 -0400 |
commit | 1c3fae4d7eb121933341443c37d3bbee43c0fb68 (patch) | |
tree | e7f0c4145b3a108817c2a7e6bea58a72eb3692e1 /include | |
parent | 002c8054fa8d0f1afce2b0c728be32d338b9293a (diff) | |
download | blackbird-op-linux-1c3fae4d7eb121933341443c37d3bbee43c0fb68.tar.gz blackbird-op-linux-1c3fae4d7eb121933341443c37d3bbee43c0fb68.zip |
[PATCH] libata: implement ap->sata_spd_limit and helpers
ap->sata_spd_limit contrains SATA PHY speed of the port. It is
initialized to the configured value prior to probing thus preserving
BIOS configured value. hardreset is responsible for applying SPD
limit and sata_std_hardreset() is updated to do that. SATA SPD limit
will be used to enhance failure handling during probing and later by
EH.
This patch also normalizes some comments around affected code.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 0f8e3720edd9..a5207e66ca52 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -397,6 +397,7 @@ struct ata_port { unsigned int mwdma_mask; unsigned int udma_mask; unsigned int cbl; /* cable type; ATA_CBL_xxx */ + unsigned int sata_spd_limit; /* SATA PHY speed limit */ struct ata_device device[ATA_MAX_DEVICES]; |