]> err.no Git - linux-2.6/commit
libata: fix hw_sata_spd_limit initialization
authorTejun Heo <htejun@gmail.com>
Wed, 6 Jun 2007 07:35:55 +0000 (16:35 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 10 Jun 2007 02:40:28 +0000 (22:40 -0400)
commitafe3cc51ba4be6b25b721c40f178ea4157751161
tree8281e8feaaf3fd7f318d2b3d3fde62340ecbdbca
parentef143d577ba98c8a53aee9aa60e7d1f07c32fd7a
libata: fix hw_sata_spd_limit initialization

hw_sata_spd_limit used to be incorrectly initialized to zero instead
of UINT_MAX if SPD is zero in SControl register.  This breaks PHY
speed down.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c