summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-07-29 00:08:01 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-07-30 19:25:15 +0200
commit103c0bf3ff46486466bc9138d70c25133d516003 (patch)
tree56f1a2d28257a5a33c4845627e4003301227b41f /arch/mips/include/asm
parent316cad5c1d4daee998cd1f83ccdb437f6f20d45c (diff)
downloadlinux-103c0bf3ff46486466bc9138d70c25133d516003.tar.bz2
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 <hauke@hauke-m.de> Cc: zajec5@gmail.com Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7489/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm')
0 files changed, 0 insertions, 0 deletions