diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-01-09 11:13:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-11 00:06:36 -0800 |
commit | fe96aaa14f553f0eb7af0e3502563a5400c65257 (patch) | |
tree | c82499085a496ede1d4764c61e249c4a0a2c6a43 /drivers/net/arm | |
parent | 0faac9f75fa4260d67fed5a67bb2f16dbe2e93c8 (diff) | |
download | op-kernel-dev-fe96aaa14f553f0eb7af0e3502563a5400c65257.zip op-kernel-dev-fe96aaa14f553f0eb7af0e3502563a5400c65257.tar.gz |
netdev: add missing set_mac_address hook
Many drivers lost the ability to set ethernet address accidently
during the net_device_ops conversion.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arm')
-rw-r--r-- | drivers/net/arm/etherh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/arm/etherh.c b/drivers/net/arm/etherh.c index 6278606..745ac18 100644 --- a/drivers/net/arm/etherh.c +++ b/drivers/net/arm/etherh.c @@ -646,6 +646,7 @@ static const struct net_device_ops etherh_netdev_ops = { .ndo_get_stats = ei_get_stats, .ndo_set_multicast_list = ei_set_multicast_list, .ndo_validate_addr = eth_validate_addr, + .ndo_set_mac_addr = eth_set_mac_addr, .ndo_change_mtu = eth_change_mtu, #ifdef CONFIG_NET_POLL_CONTROLLER .ndo_poll_controller = ei_poll, |