]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
pata-rb532-cf: use ata_sff_data_xfer32()
authorPhil Sutter <n0-1@freewrt.org>
Tue, 27 Jan 2009 13:35:52 +0000 (14:35 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Mar 2009 02:02:39 +0000 (22:02 -0400)
commit180bd147f18316d92bd5f59aebc9932cabc03edd
treed22e40de0ad6b81d203d97218a11775ad1cab4cd
parentbff9ad3c4c8fff340854d3912196ed470f94602c
pata-rb532-cf: use ata_sff_data_xfer32()

The biggest difference between rb532_pata_data_xfer() and
ata_sff_data_xfer32() is the call to ata_sff_pause() at the end of
rb532_pata_data_xfer() which I suppose to be unnecessary since it works
without. I've also tested using ata_sff_data_xfer() as replacement, but
since we know that the driver supports 32bit IO, using the optimised
version should be safe.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_rb532_cf.c