commit | 0ec6d343f7bcf9e0944aa9ff65287b987ec00c0f | [log] [tgz] |
---|---|---|
author | Rob Herring <rob.herring@calxeda.com> | Mon Nov 05 06:22:21 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 07 03:51:13 2012 -0500 |
tree | 7ac7a7216579c1e480de333f223811e92ffa3033 | |
parent | b821bd8e5a4413c8e28e64d878720978883ebfc8 [diff] |
net: calxedaxgmac: use raw i/o accessors in rx and tx paths The standard readl/writel accessors involve a spinlock and cache sync operation on ARM platforms with an outer cache. Only DMA triggering accesses need this, so use the raw variants instead in the critical paths. The relaxed variants would be more appropriate, but don't exist on all arches. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: David S. Miller <davem@davemloft.net>