aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHauke Mehrtens <[email protected]>2014-07-29 00:08:01 +0200
committerRalf Baechle <[email protected]>2014-07-30 19:25:15 +0200
commit103c0bf3ff46486466bc9138d70c25133d516003 (patch)
tree56f1a2d28257a5a33c4845627e4003301227b41f /tools/perf/scripts/python
parent316cad5c1d4daee998cd1f83ccdb437f6f20d45c (diff)
MIPS: BCM47XX: fixup broken MAC addresses in nvram
The address prefix 00:90:4C is used by Broadcom in their initial configuration. When a mac address with the prefix 00:90:4C is used all devices from the same series are sharing the same mac address. To prevent mac address collisions we replace them with a mac address based on the base address. To generate such addresses we take the main mac address from et0macaddr and increase it by two for the first wifi device and by 3 for the second one. This matches the printed mac address on the device. The main mac address increased by one is used as wan address by the vendor code. Signed-off-by: Hauke Mehrtens <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/7489/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions