Tejun Heo wrote:
Add ap->orig_sata_spd_limit and initialize it once during the boot initialization (or driver load initialization). ap->sata_spd_limit is reset to ap->orig_sata_spd_limit on hotplug. This prevents limits introduced by earlier devices from affecting new devices. Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
Rather than "orig_" call it "hw_" or similar. This is similar to the block layer's max_sectors and max_hw_sectors situation.
Jeff - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html