提交 3d894a9c 编写于 作者: O Otavio Salvador 提交者: David S. Miller

net/natsami: store MAC into perm_addr

Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册