[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1302622241-11871-2-git-send-email-otavio@ossystems.com.br>
Date: Tue, 12 Apr 2011 12:30:41 -0300
From: Otavio Salvador <otavio@...ystems.com.br>
To: netdev@...r.kernel.org
Cc: Otavio Salvador <otavio@...ystems.com.br>
Subject: [PATCH 2/2] net/natsami: store MAC into perm_addr
Signed-off-by: Otavio Salvador <otavio@...ystems.com.br>
---
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 aa2813e..1074231 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;
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists