]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: Update hardware MAC address if it changes in env
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 24 Mar 2015 07:41:49 +0000 (02:41 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:43:14 +0000 (22:43 +0200)
commit1ab3a40db0c8b4250eabf16b16cf61e18a0322ad
treed10d7e363f751c257ba90f073f113226ddca7b91
parent65c2046343068c4972cd3f1b0351b06d63275478
net: Update hardware MAC address if it changes in env

When the ethaddr changes in the env, the hardware should also be updated
so that MAC filtering will work properly without resetting U-Boot.

Also remove the manual calls to set the hwaddr that was included in a
few drivers as a result of the framework not doing it.

Reported-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/bcm-sf2-eth.c
drivers/net/designware.c
drivers/net/macb.c
net/eth.c