]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sata_vsc: use default cache line size if non-zero
authorNate Dailey <nate.dailey@stratus.com>
Thu, 15 Feb 2007 23:13:46 +0000 (18:13 -0500)
committerJeff Garzik <jeff@garzik.org>
Thu, 15 Feb 2007 23:13:46 +0000 (18:13 -0500)
commit7de970e11fb832a56c897276967fb0e49f59b313
tree6e49d7e80c9b3f847a3d6bd84ccbf70614a2ef1d
parent5278b50cea851d8264b7b28212a483328650476f
sata_vsc: use default cache line size if non-zero

This modifies drivers/ata/sata_vsc.c to only set the cache line size
to 0x80 if the default value is zero. Apparently zero isn't allowed
due to a bug in the chip, but I've found performance is much better
with the (non-zero) default instead of 0x80.

[note1: "default" means BIOS-programmed value, in this context -jgarzik]

[note2: superfluous braces were removed from the patch -jg]

Signed-off-by: Nate Dailey <nate.dailey@stratus.com>
Signed-off-by: Jeremy Higdon <jeremy@sgi.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_vsc.c