diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-02-25 14:20:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-27 23:53:43 +0300 |
commit | f01aa633e040e52603b8defd2263691d15b86cb0 (patch) | |
tree | aeeedea57fb7e650464e448463508681686f0e42 /drivers/net/ethernet/allwinner/sun4i-emac.c | |
parent | 2b0c2e2d2a43357fc51d3499bc405d0d05df2451 (diff) | |
download | linux-f01aa633e040e52603b8defd2263691d15b86cb0.tar.xz |
cxgb4: Fix PCI-E Memory window interface for big-endian systems
When doing reads and writes to adapter memory via the PCI-E Memory Window
interface, data gets swizzled on 4-byte boundaries on Big-Endian systems
because we need to account for the register read/write interface which
incorporates a swizzle onto the Little-Endian PCI-E Bus.
Based on original work by Casey Leedom <leedom@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/allwinner/sun4i-emac.c')
0 files changed, 0 insertions, 0 deletions