aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-04-02 07:53:28 -0400
committerJeff Garzik <jeff@garzik.org>2006-04-02 10:02:57 -0400
commit1c3fae4d7eb121933341443c37d3bbee43c0fb68 (patch)
treee7f0c4145b3a108817c2a7e6bea58a72eb3692e1 /include/linux/libata.h
parent002c8054fa8d0f1afce2b0c728be32d338b9293a (diff)
[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/linux/libata.h')
-rw-r--r--include/linux/libata.h1
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 {
397 unsigned int mwdma_mask; 397 unsigned int mwdma_mask;
398 unsigned int udma_mask; 398 unsigned int udma_mask;
399 unsigned int cbl; /* cable type; ATA_CBL_xxx */ 399 unsigned int cbl; /* cable type; ATA_CBL_xxx */
400 unsigned int sata_spd_limit; /* SATA PHY speed limit */
400 401
401 struct ata_device device[ATA_MAX_DEVICES]; 402 struct ata_device device[ATA_MAX_DEVICES];
402 403