diff options
author | Stefan Roese <[email protected]> | 2020-08-04 14:17:16 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-04 16:04:17 -0700 |
commit | f7ba7dbf4f7af67b5936ff1cbd40a3254b409ebf (patch) | |
tree | 658135a84fee1c88c26e23904e87d3eb8684a603 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ee895a30ef463e3ebaa5cbe464346d9fbbce1860 (diff) |
net: macb: Properly handle phylink on at91sam9x
I just recently noticed that ethernet does not work anymore since v5.5
on the GARDENA smart Gateway, which is based on the AT91SAM9G25.
Debugging showed that the "GEM bits" in the NCFGR register are now
unconditionally accessed, which is incorrect for the !macb_is_gem()
case.
This patch adds the macb_is_gem() checks back to the code
(in macb_mac_config() & macb_mac_link_up()), so that the GEM register
bits are not accessed in this case any more.
Fixes: 7897b071ac3b ("net: macb: convert to phylink")
Signed-off-by: Stefan Roese <[email protected]>
Cc: Reto Schneider <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: Nicolas Ferre <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions