diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-10-13 21:18:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-15 04:30:06 +0300 |
commit | 04a69a17597c1366d764926577745dca4aa6b100 (patch) | |
tree | c52d839988bdc854add2a8601e6432f7a6611208 /drivers/net/dsa/mv88e6060.c | |
parent | ec0d0987f084cdaf7b7ff8bd8f9f946e29fb8d94 (diff) | |
download | linux-04a69a17597c1366d764926577745dca4aa6b100.tar.xz |
net: dsa: mv88e6xxx: setup random mac address
An Ethernet switch may support having a MAC address, which can be used
as the switch's source address in transmitted full-duplex Pause frames.
If a DSA switch supports the related .set_addr operation, the DSA core
sets the master's MAC address on the switch. This won't make sense
anymore in a multi-CPU ports system, because there won't be a unique
master device assigned to a switch tree.
Instead, setup the switch from within the Marvell driver with a random
MAC address, and remove the .set_addr implementation.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6060.c')
0 files changed, 0 insertions, 0 deletions