commit | d78343d2d796dbfe61450490b885782c72c820b5 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Fri Nov 04 03:23:36 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 04 14:40:00 2016 -0400 |
tree | 5731f39f46b1b3762138b5c47a15a1c26e9bfe02 | |
parent | 96a2b40c7bd32a955a47a4d521afa4940886f4e5 [diff] |
net: dsa: mv88e6xxx: setup port's MAC Now that we have setters to configure the port's MAC, use them to refactor the port setup and adjust_link code. Note that port's MAC speed, duplex or RGMII delay must not be changed unless the port's link is forced down. So wrap all that in a mv88e6xxx_port_setup_mac function. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>