aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/natsemi.c
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-04-12 05:30:41 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-12 14:56:00 -0700
commit3d894a9c1959acaa6981283619b465f75f7e535e (patch)
tree37992cf1651c3c3e7c5941daa91db9e4131ec4ae /drivers/net/natsemi.c
parentefa2ad8918afc2f5e4ea533110758b26991f1937 (diff)
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 aa2813e06d0..1074231f0a0 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;