
Hi,
2011/4/14 Simon Glass sjg@chromium.org:
Built-in Ethernet adapters support setting the mac address by means of a ethaddr environment variable for each interface (ethaddr, eth1addr, eth2addr).
This adds similar support to the USB network side, using the names usbethaddr, usbeth1addr, etc. They are kept separate since we don't want a USB device taking the MAC address of a built-in device or vice versa.
TEST=build, test on harmony, with setenv usbethaddr c0:c1:c0:13:0b:b8, bootp, tftp ...
Signed-off-by: Simon Glass sjg@chromium.org
board/davinci/common/misc.c | 2 +- drivers/net/designware.c | 2 +- drivers/usb/eth/usb_ether.c | 9 ++++- include/net.h | 25 ++++++++++++++++- net/eth.c | 65 ++++++++++++++++++++++++++----------------
3 subsystems within 1 single patch (net + usb + davinci-boards). How are we gonna deal with it? Since the remainder of the series is USB tree related, I would suggest to include it in the u-boot-usb tree, but then I need the Ack of Ben and Sandeep.
Kind regards,
Remy