summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorPeter Robinson <[email protected]>2017-11-23 13:14:17 +0000
committerTom Rini <[email protected]>2017-12-02 18:32:58 -0500
commitb59670f2bd028b682cfab88a9c8e980a968f24bd (patch)
tree92bd992dce8feaad45648cc3246b39bb5ab6b752 /include/linux/kernel.h
parent02907004294d981fff9a7305ad9c6d8a0138f205 (diff)
omap2: set the ethaddr as well as the usbethaddr env var to ensure static MAC
The kernel gets the ethernet MAC from the ethaddr variable, the omap boards for devices with USB based eth adapters just set the usbethaddr which doesn't appear to get passed to the kernel. The same Raspberry Pi code sets both ethaddr and usbethaddr so lets do that so linux (tested 4.13 and 4.14) get a static rather than a random MAC address, while not regressing users of usbethaddr. Signed-off-by: Peter Robinson <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions