Re: [PATCH] net/smscx5xx: change to of_get_mac_address() eth_platform_get_mac_address()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Łukasz Stelmach <l.stelmach@xxxxxxxxxxx>
Date: Wed, 30 Sep 2020 16:25:25 +0200

> Use more generic eth_platform_get_mac_address() which can get a MAC
> address from other than DT platform specific sources too. Check if the
> obtained address is valid.
> 
> Signed-off-by: Łukasz Stelmach <l.stelmach@xxxxxxxxxxx>

Failure to probe a MAC address should result in the selection of a
random one.  This way, the interface still comes up and is usable
even when the MAC address fails to be probed.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux