]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: Handle ethaddr changes as an env callback
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 20 May 2015 19:27:26 +0000 (14:27 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:43:16 +0000 (22:43 +0200)
commitbb6409d50b352dacdb58562b3e33046363d9cc61
treeee3e4a7685f7755cd71a1ca2a4ac67aea512c726
parentc93aba805be2bc6117ebdd41e25059d8fcae1a68
net: Handle ethaddr changes as an env callback

When the ethaddr is changed in the env, update the device pdata at the
same time (only if it is probed for the DM case; only if registered for
the non-DM case). Again this gets us closer to completely non-polled
env needed to simplify the net_loop.

This requires that the NET feature select the REGEX feature.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
include/env_callback.h
net/Kconfig
net/eth.c