]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/ata/libata-core.c
[PATCH] libata-hp-prep: implement ap->hw_sata_spd_limit
authorTejun Heo <htejun@gmail.com>
Wed, 31 May 2006 09:27:38 +0000 (18:27 +0900)
committerTejun Heo <htejun@gmail.com>
Wed, 31 May 2006 09:27:38 +0000 (18:27 +0900)
commit5a04bf4befa8bffa012eedc3a0903c158b9131a9
tree7145c99e6df311a6d732fc3569d9a048829f92ba
parent315343637b988ac32d730a6a9f7bf5866838bcb0
[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>
drivers/scsi/libata-core.c
include/linux/libata.h