Re: [PATCH v3 1/2] r8169: Load MAC address from device tree if present

From: Thierry Reding
Date: Wed Feb 06 2019 - 07:34:01 EST


On Wed, Feb 06, 2019 at 01:30:17PM +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> ---
> Applies on net-next.
>
> Changes in v2:
> - rewrite error check for readability
> - initialize mac_addr array
>
> drivers/net/ethernet/realtek/r8169.c | 36 ++++++++++++++++++----------
> 1 file changed, 23 insertions(+), 13 deletions(-)

Sorry, I forgot to include Heiner's Reviewed-by tag here, but with any
luck patchwork will pick it up if I do this:

This patch previously:

Reviewed-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>

Attachment: signature.asc
Description: PGP signature