diff options
Diffstat (limited to 'drivers/net/skge.c')
-rw-r--r-- | drivers/net/skge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c index 0208258e7826..7ce734ec6ba8 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c | |||
@@ -743,6 +743,7 @@ static struct ethtool_ops skge_ethtool_ops = { | |||
743 | .phys_id = skge_phys_id, | 743 | .phys_id = skge_phys_id, |
744 | .get_stats_count = skge_get_stats_count, | 744 | .get_stats_count = skge_get_stats_count, |
745 | .get_ethtool_stats = skge_get_ethtool_stats, | 745 | .get_ethtool_stats = skge_get_ethtool_stats, |
746 | .get_perm_addr = ethtool_op_get_perm_addr, | ||
746 | }; | 747 | }; |
747 | 748 | ||
748 | /* | 749 | /* |
@@ -3082,6 +3083,7 @@ static struct net_device *skge_devinit(struct skge_hw *hw, int port, | |||
3082 | 3083 | ||
3083 | /* read the mac address */ | 3084 | /* read the mac address */ |
3084 | memcpy_fromio(dev->dev_addr, hw->regs + B2_MAC_1 + port*8, ETH_ALEN); | 3085 | memcpy_fromio(dev->dev_addr, hw->regs + B2_MAC_1 + port*8, ETH_ALEN); |
3086 | memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); | ||
3085 | 3087 | ||
3086 | /* device is off until link detection */ | 3088 | /* device is off until link detection */ |
3087 | netif_carrier_off(dev); | 3089 | netif_carrier_off(dev); |