[U-Boot] [PATCH v8 2/4] Add Ethernet hardware MAC address framework to usbnet
Remy Bohmer
linux at bohmer.net
Mon Jun 20 19:00:18 CEST 2011
Hi,
2011/6/14 Simon Glass <sjg at 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.
>
> Changes for v2:
> - eth_set_hwaddr -> eth_write_hwaddr
> - tided up other users of eth_getenv_enetaddr_by_index()
>
> Changes for v5:
> - Changed NULL to "eth" in eth_getenv_enetaddr_by_index() API
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Tested-by: Eric Bénard <eric at eukrea.com>
> ---
Applied to u-boot-usb AFTER cleaning up commit message (Change history
of the patch should be below the '---' line)
Kind regards,
Remy
More information about the U-Boot
mailing list