summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-01-04 15:48:22 +0000
committerTom Rini <trini@konsulko.com>2016-01-08 10:15:44 -0500
commit821fec0ceb3e26f9306f331fa547a980ff111134 (patch)
treee34b8350a30d58caef3a598c22680c04946443b0 /net
parent7babe48252bb92d3c9e7a9dfebde723c9da30c78 (diff)
net: remove scary warning about EEPROM provided MAC address
In many parts of the computing world having a unique MAC address sitting in some on-NIC storage is considered the normal case. Remove the warning to not scare the user unnecessarily. This applies to Highbank/Midway and ARM's Juno, for instance. Besides that this fixes the formatting on Midway, for instance, which currently looks like: ... Net: xgmac0 Warning: xgmac0 using MAC address from net device , xgmac1 Warning: xgmac1 using MAC address from net device ... Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'net')
-rw-r--r--net/eth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/eth.c b/net/eth.c
index 18c53bf58ab..45fe6e3c1c0 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -777,8 +777,6 @@ int eth_write_hwaddr(struct eth_device *dev, const char *base_name,
} else if (is_valid_ethaddr(dev->enetaddr)) {
eth_setenv_enetaddr_by_index(base_name, eth_number,
dev->enetaddr);
- printf("\nWarning: %s using MAC address from net device\n",
- dev->name);
} else if (is_zero_ethaddr(dev->enetaddr)) {
#ifdef CONFIG_NET_RANDOM_ETHADDR
net_random_ethaddr(dev->enetaddr);