diff options
author | Thierry Reding <treding@nvidia.com> | 2020-05-14 14:38:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-14 13:16:38 -0700 |
commit | acb6d3771a0390fdfae18082f232fda40d5ab514 (patch) | |
tree | 6f31a0c72f908a8b1dd3384703e4b81630d40feb /lib/glob.c | |
parent | 0531b0357ba37464e5c0033e1b7c69bbf5ecd8fb (diff) |
r8152: Use MAC address from device tree if available
If a MAC address was passed via the device tree node for the r8152
device, use it and fall back to reading from EEPROM otherwise. This is
useful for devices where the r8152 EEPROM was not programmed with a
valid MAC address, or if users want to explicitly set a MAC address in
the bootloader and pass that to the kernel.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/glob.c')
0 files changed, 0 insertions, 0 deletions