Commit 3d894a9c authored by Otavio Salvador's avatar Otavio Salvador Committed by David S. Miller

net/natsami: store MAC into perm_addr

Signed-off-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent efa2ad89
...@@ -860,6 +860,9 @@ static int __devinit natsemi_probe1 (struct pci_dev *pdev, ...@@ -860,6 +860,9 @@ static int __devinit natsemi_probe1 (struct pci_dev *pdev,
prev_eedata = eedata; 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->base_addr = (unsigned long __force) ioaddr;
dev->irq = irq; dev->irq = irq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment