diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-08-29 22:35:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-29 23:42:17 +0200 |
commit | fdb71a2d1adcaca0df2f73ced7851fe0c85312f8 (patch) | |
tree | 516f666658261725eef1fbc5aea6ebde1d5c60b8 /drivers/net/phy/mdio-bcm-unimac.c | |
parent | net: systemport: Use correct I/O accessors (diff) | |
download | linux-fdb71a2d1adcaca0df2f73ced7851fe0c85312f8.tar.xz linux-fdb71a2d1adcaca0df2f73ced7851fe0c85312f8.zip |
net: dsa: bcm_sf2: Use correct I/O accessors
The Starfigther 2 driver currently uses __raw_{read,write}l which means
native I/O endian. This works correctly for an ARM LE kernel (default)
but fails miserably on an ARM BE (BE8) kernel where registers are kept
little endian, so replace uses with {read,write}l_relaxed here which is
what we want because this is all performance sensitive code.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-bcm-unimac.c')
0 files changed, 0 insertions, 0 deletions