X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=doc%2FREADME.enetaddr;h=82c9cd5fe56f68b55c5eb50de332092468eccb08;hb=d2ad2c6192d1b8f03aa8918a34ee771ba0bbcd73;hp=0fafd2cdcd5f575796c69fc3fe97c085d4a666b4;hpb=bc192bbd9d7e7fcb2dd4dec98f9d9de2d3da8319;p=karo-tx-uboot.git diff --git a/doc/README.enetaddr b/doc/README.enetaddr index 0fafd2cdcd..82c9cd5fe5 100644 --- a/doc/README.enetaddr +++ b/doc/README.enetaddr @@ -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