commit | 66e57a2cb0c538d4f84a7233c224735fe1eaa672 | [log] [tgz] |
---|---|---|
author | Mark Lord <liml@rtr.ca> | Fri Jan 30 18:52:58 2009 -0500 |
committer | Jeff Garzik <jgarzik@redhat.com> | Tue Mar 24 22:02:38 2009 -0400 |
tree | 46ef73b2e5f3bc25d320b9ed7040dc0181d5883d | |
parent | da14265e776f35067045b8555b5f5f7521e50bc4 [diff] |
sata_mv: optimize use of mv_edma_cfg Try and avoid unnecessary reconfiguration of the EDMA config register on every single non-EDMA I/O operation, by moving the call to mv_edma_cfg() into mv_stop_edma(). It must then also be invoked from mv_hardreset() and from mv_port_start(). Signed-off-by: Mark Lord <mlord@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>