net: calxedaxgmac: use raw i/o accessors in rx and tx paths
authorRob Herring <rob.herring@calxeda.com>
Mon, 5 Nov 2012 06:22:21 +0000 (06:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 08:51:13 +0000 (03:51 -0500)
commit0ec6d343f7bcf9e0944aa9ff65287b987ec00c0f
tree7ac7a7216579c1e480de333f223811e92ffa3033
parentb821bd8e5a4413c8e28e64d878720978883ebfc8
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>
drivers/net/ethernet/calxeda/xgmac.c