diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-07-19 04:54:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-20 06:49:17 +0300 |
commit | 113ce107afe979902c003900bfaed7878d8a5968 (patch) | |
tree | 3e1165acbab424ee756fc9447848e0bcf2724d2b /tools/perf/scripts/python/check-perf-trace.py | |
parent | eb4181849f58f31d8d68762b6d87c6f06b86dbbd (diff) | |
download | linux-113ce107afe979902c003900bfaed7878d8a5968.tar.xz |
net/faraday: Read MAC address from chip
The device is assigned with random MAC address. It isn't reasonable.
An valid MAC address might have been provided by (uboot) firmware by
device-tree or in chip. It's reasonable to use it to maintain consistency.
This uses the MAC address from device-tree or that in the chip if it's
valid. Otherwise, a random MAC address is given as before.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions