]> git.sur5r.net Git - u-boot/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)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 19 May 2015 18:33:21 +0000 (13:33 -0500)
commitf566c9949fbdce2e09a900c5343ca9986e5ba360
treecb7bb4f188ff373695d36c02aa7b3d850b23c65b
parent3d6af748ebd831524cb22a29433e9092af469ec7
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