sata_sx4: speed up ECC initialization
commitf35b5e7c066a41f60683d2689e52a1336479913b
authorAlexander Beregalov <a.beregalov@gmail.com>
Tue, 14 Apr 2009 20:00:54 +0000 (15 00:00 +0400)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 10 Jun 2009 11:50:17 +0000 (10 07:50 -0400)
treea12957566a5e09b43f5dae83803792b519e7cd7d
parent2102d7497393e982bf38ffe8f5fd3d487104880d
sata_sx4: speed up ECC initialization

ECC initialization takes too long. It writes zeroes by portions
of 4 byte, it takes more than 6 minutes on my machine to initialize
512Mb ECC DIMM module. Change portion to 128Kb - it significantly
reduces initialization time.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_sx4.c