projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e5e4a
)
[PATCH] 3c59x: support ETHTOOL_GPERMADDR
author
John W. Linville
<linville@tuxdriver.com>
Mon, 7 Nov 2005 08:58:07 +0000
(
00:58
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:25 +0000
(07:53 -0800)
Add support for ETHTOOL_GPERMADDR to 3c59x.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/3c59x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/3c59x.c
b/drivers/net/3c59x.c
index 7dcc5545557b22dc6bd0a1a2306401254f9b8124..be4f962d27b0f8ec305cc8d989f6c25f91d47725 100644
(file)
--- a/
drivers/net/3c59x.c
+++ b/
drivers/net/3c59x.c
@@
-1341,6
+1341,7
@@
static int __devinit vortex_probe1(struct device *gendev,
printk(" ***INVALID CHECKSUM %4.4x*** ", checksum);
for (i = 0; i < 3; i++)
((u16 *)dev->dev_addr)[i] = htons(eeprom[i + 10]);
+ memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len);
if (print_info) {
for (i = 0; i < 6; i++)
printk("%c%2.2x", i ? ':' : ' ', dev->dev_addr[i]);
@@
-3059,6
+3060,7
@@
static struct ethtool_ops vortex_ethtool_ops = {
.set_settings = vortex_set_settings,
.get_link = vortex_get_link,
.nway_reset = vortex_nway_reset,
+ .get_perm_addr = ethtool_op_get_perm_addr,
};
#ifdef CONFIG_PCI
This page took
0.026401 seconds
and
5
git commands to generate.