linux_dsm_epyc7002/drivers/net/ethernet/cadence
Andy Shevchenko f2ce8a9e48 net/macb: improve big endian CPU support
The commit a50dad355a (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: a50dad355a (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>
2015-07-27 01:10:29 -07:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
macb.c net/macb: improve big endian CPU support 2015-07-27 01:10:29 -07:00
macb.h net/macb: improve big endian CPU support 2015-07-27 01:10:29 -07:00
Makefile net/macb: merge at91_ether driver into macb driver 2015-03-07 22:31:37 -05:00