]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - doc/README.enetaddr
net: Implement random ethaddr fallback in eth.c
[karo-tx-uboot.git] / doc / README.enetaddr
index 0fafd2cdcd5f575796c69fc3fe97c085d4a666b4..82c9cd5fe56f68b55c5eb50de332092468eccb08 100644 (file)
@@ -37,6 +37,8 @@ Correct flow of setting up the MAC address (summarized):
    environment variable will be used unchanged.
    If the environment variable is not set, it will be initialized from
    eth_device->enetaddr, and a warning will be printed.
+   If both are invalid and CONFIG_NET_RANDOM_ETHADDR is defined, a random,
+   locally-assigned MAC is written to eth_device->enetaddr.
 4. Program the address into hardware if the following conditions are met:
        a) The relevant driver has a 'write_addr' function
        b) The user hasn't set an 'ethmacskip' environment variable