aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-12-02 08:48:28 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-03 12:08:11 -0500
commit7e300bc8e6736d41e7b92978f415572ac60fd59b (patch)
treeb48dc8243946bd08e3c7eef5171d910218a43987 /drivers/net/sfc/falcon.c
parent02ebc26865c2755720d2ede90a5ab27c45741823 (diff)
sfc: Store MAC address from NVRAM in net_device::perm_addr
For some reason we failed to make this change when perm_addr was introduced. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/falcon.c')
-rw-r--r--drivers/net/sfc/falcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c
index 07f684ed2d9b..70e4f7dcce81 100644
--- a/drivers/net/sfc/falcon.c
+++ b/drivers/net/sfc/falcon.c
@@ -1297,7 +1297,7 @@ static int falcon_probe_nvconfig(struct efx_nic *efx)
1297 } 1297 }
1298 1298
1299 /* Read the MAC addresses */ 1299 /* Read the MAC addresses */
1300 memcpy(efx->mac_address, nvconfig->mac_address[0], ETH_ALEN); 1300 memcpy(efx->net_dev->perm_addr, nvconfig->mac_address[0], ETH_ALEN);
1301 1301
1302 netif_dbg(efx, probe, efx->net_dev, "PHY is %d phy_id %d\n", 1302 netif_dbg(efx, probe, efx->net_dev, "PHY is %d phy_id %d\n",
1303 efx->phy_type, efx->mdio.prtad); 1303 efx->phy_type, efx->mdio.prtad);