diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:27:38 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:27:38 -0400 |
commit | 5a04bf4befa8bffa012eedc3a0903c158b9131a9 (patch) | |
tree | 7145c99e6df311a6d732fc3569d9a048829f92ba /include/linux/libata.h | |
parent | 315343637b988ac32d730a6a9f7bf5866838bcb0 (diff) |
[PATCH] libata-hp-prep: implement ap->hw_sata_spd_limit
Add ap->hw_sata_spd_limit and initialize it once during the boot
initialization (or driver load initialization). ap->sata_spd_limit is
reset to ap->hw_sata_spd_limit on hotplug. This prevents spd limits
introduced by earlier devices from affecting new devices.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'include/linux/libata.h')
-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 aa14eda0656c..10dc235ad8bc 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -489,6 +489,7 @@ struct ata_port { | |||
489 | unsigned int mwdma_mask; | 489 | unsigned int mwdma_mask; |
490 | unsigned int udma_mask; | 490 | unsigned int udma_mask; |
491 | unsigned int cbl; /* cable type; ATA_CBL_xxx */ | 491 | unsigned int cbl; /* cable type; ATA_CBL_xxx */ |
492 | unsigned int hw_sata_spd_limit; | ||
492 | unsigned int sata_spd_limit; /* SATA PHY speed limit */ | 493 | unsigned int sata_spd_limit; /* SATA PHY speed limit */ |
493 | 494 | ||
494 | /* record runtime error info, protected by host_set lock */ | 495 | /* record runtime error info, protected by host_set lock */ |