commit | 08da175937a35d34a83eaefbb3458472eb1a89d4 | [log] [tgz] |
---|---|---|
author | Mark Lord <mlord@pobox.com> | Wed Feb 25 15:13:03 2009 -0500 |
committer | Jeff Garzik <jgarzik@redhat.com> | Tue Mar 24 22:02:40 2009 -0400 |
tree | 32e8be09d7fc0c878b479a65666a18b0341b7529 | |
parent | a5bfc4714b3f01365aef89a92673f2ceb1ccf246 [diff] |
[libata] sata_mv: cache frequently-accessed registers Maintain a local (mv_port_priv) cache of frequently accessed registers, to avoid having to re-read them (very slow) on every transistion between EDMA and non-EDMA modes. This speeds up things like flushing the drive write cache, and anything using basic DMA transfers. Signed-off-by: Mark Lord <mlord@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>