diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2016-03-10 18:44:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-14 05:16:22 +0300 |
commit | 6bdaa5e9ed39b3b3328f35d218e8ad5a99cfc4d2 (patch) | |
tree | fb48cb1048b1ed4b46cdb56f4310850ec2a0e1f0 /drivers/cpufreq/speedstep-lib.h | |
parent | 470c3822d2ab7fadcbb1ac317ef27b31caac370e (diff) | |
download | linux-6bdaa5e9ed39b3b3328f35d218e8ad5a99cfc4d2.tar.xz |
net: macb: fix default configuration for GMAC on AT91
On AT91 SoCs, the User Register (USRIO) exposes a switch to configure the
"Reduced" or "Traditional" version of the Media Independent Interface
(RMII vs. MII or RGMII vs. GMII).
As on the older EMAC version, on GMAC, this switch is set by default to the
non-reduced type of interface, so use the existing capability and extend it to
GMII as well. We then keep the current logic in the macb_init() function.
The capabilities of sama5d2, sama5d4 and sama5d3 GEM interface are updated in
the macb_config structure to be able to properly enable them with a traditional
interface (GMII or MII).
Reported-by: Romain HENRIET <romain.henriet@l-acoustics.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cpufreq/speedstep-lib.h')
0 files changed, 0 insertions, 0 deletions