diff options
| author | Vivien Didelot <[email protected]> | 2017-10-13 18:18:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-15 01:30:06 +0000 |
| commit | 1723ab4f5e9af710acb36ba754e9cbf02ee08215 (patch) | |
| tree | e7855265e65255aab3a343e26d10e77bb9a066ec /drivers/net/dsa/dsa_loop.c | |
| parent | net: dsa: mv88e6xxx: setup random mac address (diff) | |
| download | kernel-1723ab4f5e9af710acb36ba754e9cbf02ee08215.tar.gz kernel-1723ab4f5e9af710acb36ba754e9cbf02ee08215.zip | |
net: dsa: mv88e6060: fix switch MAC address
The 88E6060 Ethernet switch always transmits the multicast bit of the
switch MAC address as a zero. It re-uses the corresponding bit 8 of the
register "Switch MAC Address Register Bytes 0 & 1" for "DiffAddr".
If the "DiffAddr" bit is 0, then all ports transmit the same source
address. If it is set to 1, then bit 2:0 are used for the port number.
The mv88e6060 driver is currently wrongly shifting the MAC address byte
0 by 9. To fix this, shift it by 8 as usual and clear its bit 0.
Signed-off-by: Vivien Didelot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
