]> git.ipfire.org Git - people/ms/u-boot.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)
committerTom Rini <trini@konsulko.com>
Thu, 21 May 2015 13:16:16 +0000 (09:16 -0400)
commit6e0d26c0502e4d697cb235069aef188f8f1407d3
treeab7bfaa2dd1f6c964e13f0fdb0481a34cae672e1
parent2d1febf7d5867cb5441c5d5081d042b61cc647eb
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