summaryrefslogtreecommitdiff
path: root/doc/README.enetaddr
AgeCommit message (Collapse)Author
2015-05-19net: Remove all references to CONFIG_ETHADDR and friendsJoe Hershberger
We really don't want boards defining fixed MAC addresses in their config so we just remove the option to set it in a fixed way. If you must have a MAC address that was not provisioned, then use the random MAC address functionality. Signed-off-by: Joe Hershberger <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2015-05-19net: Implement random ethaddr fallback in eth.cJoe Hershberger
Implement the random ethaddr fallback in eth.c so it is in a common place and not reimplemented in each board or driver that wants this behavior. Signed-off-by: Joe Hershberger <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2015-04-18net: cosmetic: Name ethaddr variables consistentlyJoe Hershberger
Use "_ethaddr" at the end of variables and drop CamelCase. Make constant values actually 'const'. Signed-off-by: Joe Hershberger <[email protected]> Acked-by: Simon Glass <[email protected]>
2012-07-11net: allow setting env enetaddr from net device settingRob Herring
If the net driver has setup a valid ethernet address and an ethernet address is not set in the environment already, then set the environment variables from the net driver setting. This enables pxe booting on boards which don't set ethaddr env variable. Signed-off-by: Rob Herring <[email protected]>
2010-05-03Program net device MAC addresses after initializingBen Warren
Add a new function to the eth_device struct for programming a network controller's hardware address. After all network devices have been initialized and the proper MAC address for each has been determined, make a device driver call to program the address into the device. Only device instances with valid unicast addresses will be programmed. Signed-off-by: Ben Warren <[email protected]> Acked-by: Detlev Zundel <[email protected]> Tested-by: Prafulla Wadaskar <[email protected]> Tested-by: Heiko Schocher <[email protected]> Tested-by: Thomas Chou <[email protected]>
2010-03-31net, doc: How to setup MAC address correctlyHeiko Schocher
As this seems unclear, document how the flow of setting up the MAC address is correct. Signed-off-by: Heiko Schocher <[email protected]> Text changed slightly, adding input from Mike Frysinger. Signed-off-by: Wolfgang Denk <[email protected]>
2009-03-20doc/README.enetaddr: document proper MAC usageMike Frysinger
Signed-off-by: Mike Frysinger <[email protected]> CC: Ben Warren <[email protected]>