diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/3c59x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index 7dcc5545557b..be4f962d27b0 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c | |||
@@ -1341,6 +1341,7 @@ static int __devinit vortex_probe1(struct device *gendev, | |||
1341 | printk(" ***INVALID CHECKSUM %4.4x*** ", checksum); | 1341 | printk(" ***INVALID CHECKSUM %4.4x*** ", checksum); |
1342 | for (i = 0; i < 3; i++) | 1342 | for (i = 0; i < 3; i++) |
1343 | ((u16 *)dev->dev_addr)[i] = htons(eeprom[i + 10]); | 1343 | ((u16 *)dev->dev_addr)[i] = htons(eeprom[i + 10]); |
1344 | memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); | ||
1344 | if (print_info) { | 1345 | if (print_info) { |
1345 | for (i = 0; i < 6; i++) | 1346 | for (i = 0; i < 6; i++) |
1346 | printk("%c%2.2x", i ? ':' : ' ', dev->dev_addr[i]); | 1347 | printk("%c%2.2x", i ? ':' : ' ', dev->dev_addr[i]); |
@@ -3059,6 +3060,7 @@ static struct ethtool_ops vortex_ethtool_ops = { | |||
3059 | .set_settings = vortex_set_settings, | 3060 | .set_settings = vortex_set_settings, |
3060 | .get_link = vortex_get_link, | 3061 | .get_link = vortex_get_link, |
3061 | .nway_reset = vortex_nway_reset, | 3062 | .nway_reset = vortex_nway_reset, |
3063 | .get_perm_addr = ethtool_op_get_perm_addr, | ||
3062 | }; | 3064 | }; |
3063 | 3065 | ||
3064 | #ifdef CONFIG_PCI | 3066 | #ifdef CONFIG_PCI |