projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa2ad8
)
net/natsami: store MAC into perm_addr
author
Otavio Salvador
<otavio@ossystems.com.br>
Tue, 12 Apr 2011 05:30:41 +0000
(
05:30
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 12 Apr 2011 21:56:00 +0000
(14:56 -0700)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/natsemi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/natsemi.c
b/drivers/net/natsemi.c
index aa2813e06d0033ebcc48f07967c884d9b20735d8..1074231f0a0d722a803bcc968372d9705b582a53 100644
(file)
--- 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;