]> git.dujemihanovic.xyz Git - u-boot.git/commit
driver: net: ldpaa_eth: Set MAC address during interface open
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Wed, 7 Oct 2015 10:59:58 +0000 (16:29 +0530)
committerYork Sun <yorksun@freescale.com>
Thu, 29 Oct 2015 17:33:57 +0000 (10:33 -0700)
commit7b2edb8b9dd9e9b792f1b2b5c5db4ce57fb1c6f0
tree591bc1903711eecebea3e00691166a41eaa6127a
parentc69384e11d36240392839fa51e04a78187dc9b3a
driver: net: ldpaa_eth: Set MAC address during interface open

Currently ldpaa ethernet driver rely on DPL file to statically configure
mac address for the DPNIs. It is not a correct approach.

Add support setting MAC address from env variable or Random MAC address.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/ldpaa_eth/ldpaa_eth.c