summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-07-21 11:42:54 +1000
committerDavid S. Miller <davem@davemloft.net>2016-07-20 21:05:18 -0700
commite6c044f5f68e0071e94829c62dbb2549e44a09e9 (patch)
tree335250940c09a3ac700bae1e9b20da68c44e388c /drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
parentc0d661ca3701f38d9313ca3954e3741ad92e3aaa (diff)
downloadop-kernel-dev-e6c044f5f68e0071e94829c62dbb2549e44a09e9.zip
op-kernel-dev-e6c044f5f68e0071e94829c62dbb2549e44a09e9.tar.gz
net/faraday: Disallow using reversed MAC address from hardware
The initial MAC address is retrieved from hardware if it's not provided by device-tree. The reserved MAC address from hardware will be used if non-reserved MAC address is invalid. It will cause mismatched MAC address seen by hardware and software. This disallows using the reserved hardware MAC address to avoid the mismatched MAC address seen by hardware and software. Fixes: 113ce107afe9 ("net/faraday: Read MAC address from chip") Suggested-by: David Laight <David.Laight@ACULAB.COM> Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/mv88e6xxx.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud