From: Otavio Salvador Date: Tue, 12 Apr 2011 05:30:41 +0000 (+0000) Subject: net/natsami: store MAC into perm_addr X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3d894a9c1959acaa6981283619b465f75f7e535e;p=openwrt%2Fstaging%2Fblogic.git net/natsami: store MAC into perm_addr Signed-off-by: Otavio Salvador Signed-off-by: David S. Miller --- diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index aa2813e06d00..1074231f0a0d 100644 --- a/drivers/net/natsemi.c +++ b/drivers/net/natsemi.c @@ -860,6 +860,9 @@ static int __devinit natsemi_probe1 (struct pci_dev *pdev, prev_eedata = eedata; } + /* Store MAC Address in perm_addr */ + memcpy(dev->perm_addr, dev->dev_addr, ETH_ALEN); + dev->base_addr = (unsigned long __force) ioaddr; dev->irq = irq;