aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6060.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-10-13 14:18:05 -0400
committerDavid S. Miller <davem@davemloft.net>2017-10-14 18:30:06 -0700
commit04a69a17597c1366d764926577745dca4aa6b100 (patch)
treec52d839988bdc854add2a8601e6432f7a6611208 /drivers/net/dsa/mv88e6060.c
parentatm: fore200e: mark expected switch fall-throughs (diff)
downloadlinux-dev-04a69a17597c1366d764926577745dca4aa6b100.tar.xz
linux-dev-04a69a17597c1366d764926577745dca4aa6b100.zip
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