summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-02-06 13:30:17 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-06 13:40:08 -0800
commit04c7788c2bb3542e5c8c9d7175193e4d925edf20 (patch)
treeee5bbafbd0f92b20572aaca7ddcef53cbbfa5ee5 /net/switchdev/switchdev.c
parentc53f59d4b24daa8bf8bd079781c9e1e1896b6dee (diff)
r8169: Load MAC address from device tree if present
If the system was booted using a device tree and if the device tree contains a MAC address, use it instead of reading one from the EEPROM. This is useful in situations where the EEPROM isn't properly programmed or where the firmware wants to override the existing MAC address. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions