summaryrefslogtreecommitdiffstats
path: root/drivers/net/natsemi.c
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-04-12 07:30:41 +0200
committerDavid S. Miller <davem@davemloft.net>2011-04-12 23:56:00 +0200
commit3d894a9c1959acaa6981283619b465f75f7e535e (patch)
tree37992cf1651c3c3e7c5941daa91db9e4131ec4ae /drivers/net/natsemi.c
parentnet/sis900: store MAC into perm_addr for SiS 900, 630E, 635 and 96x variants (diff)
downloadlinux-3d894a9c1959acaa6981283619b465f75f7e535e.tar.xz
linux-3d894a9c1959acaa6981283619b465f75f7e535e.zip
net/natsami: store MAC into perm_addr
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/natsemi.c')
-rw-r--r--drivers/net/natsemi.c3
1 files changed, 3 insertions, 0 deletions
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;