diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-07-24 21:23:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-27 01:10:29 -0700 |
commit | f2ce8a9e48385f444389e75cfe293637c3eb5410 (patch) | |
tree | 7226bddfdacdaaa762b2403a502c77bc41c40f17 /tools/perf/scripts/python/netdev-times.py | |
parent | dfbafc995304ebb9a9b03f65083e6e9cea143b20 (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 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions