]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sata_nv: kill old private BMDMA helper functions
authorRobert Hancock <hancockr@shaw.ca>
Wed, 21 Feb 2007 03:49:10 +0000 (21:49 -0600)
committerJeff Garzik <jeff@garzik.org>
Fri, 23 Feb 2007 10:37:11 +0000 (05:37 -0500)
commitf5ecac2d8e0beb0e4d3eb09833cfd19d8f9f004d
tree89ed6b1f44a4ba3bb3bc2e274ffab4ca7598d97d
parent878d4fedab4e5eba59877b771622856495a92df4
sata_nv: kill old private BMDMA helper functions

sata_nv implemented its own copies of the BMDMA helper functions for ADMA,
since the ADMA BMDMA status registers are PIO while the other registers
are MMIO, and this was the only way to handle this previously. Now that
we have iomap support, the standard routines should just work, so use them.
The only thing we need to override as far as ADMA and BMDMA is the
post_internal_cmd callback, where we should only call ata_post_internal_cmd
if we are in port-register mode.

Signed-off-by: Robert Hancock <hancockr@shaw.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_nv.c