diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-04-12 07:30:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-12 23:56:00 +0200 |
commit | 3d894a9c1959acaa6981283619b465f75f7e535e (patch) | |
tree | 37992cf1651c3c3e7c5941daa91db9e4131ec4ae /drivers/net/natsemi.c | |
parent | net/sis900: store MAC into perm_addr for SiS 900, 630E, 635 and 96x variants (diff) | |
download | linux-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.c | 3 |
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; |