]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/net/sfc/falcon.c
sfc: Store MAC address from NVRAM in net_device::perm_addr
[mv-sheeva.git] / drivers / net / sfc / falcon.c
index 07f684ed2d9be5acb204cf7044b19da03ccf9081..70e4f7dcce8198b5484a2045f73165cfefa896e8 100644 (file)
@@ -1297,7 +1297,7 @@ static int falcon_probe_nvconfig(struct efx_nic *efx)
        }
 
        /* Read the MAC addresses */
-       memcpy(efx->mac_address, nvconfig->mac_address[0], ETH_ALEN);
+       memcpy(efx->net_dev->perm_addr, nvconfig->mac_address[0], ETH_ALEN);
 
        netif_dbg(efx, probe, efx->net_dev, "PHY is %d phy_id %d\n",
                  efx->phy_type, efx->mdio.prtad);