Skip to content
Commit 7616e785 authored by Simon Glass's avatar Simon Glass Committed by Remy Bohmer
Browse files

Add Ethernet hardware MAC address framework to usbnet



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.

Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarEric Bénard <eric@eukrea.com>
parent 291391be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment