diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-06-26 13:34:42 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-07-15 15:54:56 +0200 |
commit | f221961e963fcfa5ceab6455c24d6532877ca923 (patch) | |
tree | baa953d8de95f47fd69adf97551906a60c0a96d9 /arch/arm/include/asm | |
parent | a29710c525ff43c3031b879e2beac306a09c6944 (diff) |
sunxi: Add support for multiple ethadrr-esses
Currently we fill ethaddr with a fixed unique address based on the SoCs
serial (from the sid) to make sure that boards which use the integrated
emac / gmac get a fixed mac rather then a random one.
On some boards the wifi does not come with a fixed mac either, so we need
to also set eth1addr.
This commit changes the ethaddr setting code to check for ethernet%d
aliases (as fdt_fixup_ethernet does) and set an ethaddr variable for
all present aliases.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/include/asm')
0 files changed, 0 insertions, 0 deletions