summaryrefslogtreecommitdiff
path: root/lib/net_utils.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-07-24 21:23:59 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-27 01:10:29 -0700
commitf2ce8a9e48385f444389e75cfe293637c3eb5410 (patch)
tree7226bddfdacdaaa762b2403a502c77bc41c40f17 /lib/net_utils.c
parentdfbafc995304ebb9a9b03f65083e6e9cea143b20 (diff)
net/macb: improve big endian CPU support
The commit a50dad355a53 (net: macb: Add big endian CPU support) converted I/O accessors to readl_relaxed() and writel_relaxed() and consequentially broke MACB driver on AVR32 platforms such as ATNGW100. This patch improves I/O access by checking endiannes first and use the corresponding methods. Fixes: a50dad355a53 (net: macb: Add big endian CPU support) Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions