mirror of
https://github.com/torvalds/linux.git
synced 2024-12-31 23:31:29 +00:00
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>
This commit is contained in:
parent
efa2ad8918
commit
3d894a9c19
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user