[PATCH 3/3] net: eth: don't say that MAC comes from EEPROM

Wolfram Sang w.sang at pengutronix.de
Thu Apr 5 05:05:41 EDT 2012


Because it can also come in via other means.

Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
---
 net/eth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/eth.c b/net/eth.c
index 00b8836..f62d24a 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -228,7 +228,7 @@ int eth_register(struct eth_device *edev)
 	if (found) {
 		ethaddr_to_string(ethaddr, ethaddr_str);
 		if (is_valid_ether_addr(ethaddr)) {
-			dev_info(dev, "got MAC address from EEPROM: %s\n", ethaddr_str);
+			dev_info(dev, "got preset MAC address: %s\n", ethaddr_str);
 			dev_set_param(dev, "ethaddr", ethaddr_str);
 		}
 	}
-- 
1.7.9.5




More information about the barebox mailing list