sata_rcar: correct 'sata_rcar_sht'
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 27 May 2013 22:45:08 +0000 (02:45 +0400)
committerTejun Heo <tj@kernel.org>
Tue, 28 May 2013 00:18:08 +0000 (09:18 +0900)
commit8bfbeed58665dbbf63813017712bd0c8e978379e
tree5e7e95f8563e4e4a8aa072b6aeec8029a339ffd7
parent333279c82b984f3eac61feff2b76a8b79e3db6c8
sata_rcar: correct 'sata_rcar_sht'

Using ATA_BMDMA_SHT() to intialize 'sata_rcar_sht' was suboptimal as
the R-Car descriptor table transfer counter is 28 bits wide (bit 1 to
bit 28), so that the 'dma_boundary' field of 0xFFFF is just too small,
as well as the 'sg_tablesize' field of 128.  Use ATA_BASE_SHT() to
initialize 'sata_rcar_sht' instead and give proper values to the
'dma_boundary' and 'sg_tablesize' fields explicitly.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_rcar.c