summaryrefslogtreecommitdiff
path: root/drivers/net/via-rhine.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-01-09 14:13:14 +0300
committerDavid S. Miller <davem@davemloft.net>2009-01-11 11:06:36 +0300
commitfe96aaa14f553f0eb7af0e3502563a5400c65257 (patch)
treec82499085a496ede1d4764c61e249c4a0a2c6a43 /drivers/net/via-rhine.c
parent0faac9f75fa4260d67fed5a67bb2f16dbe2e93c8 (diff)
downloadlinux-fe96aaa14f553f0eb7af0e3502563a5400c65257.tar.xz
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/via-rhine.c')
-rw-r--r--drivers/net/via-rhine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
index ac07cc6e3cb2..3b8e63254277 100644
--- a/drivers/net/via-rhine.c
+++ b/drivers/net/via-rhine.c
@@ -622,6 +622,7 @@ static const struct net_device_ops rhine_netdev_ops = {
.ndo_get_stats = rhine_get_stats,
.ndo_set_multicast_list = rhine_set_rx_mode,
.ndo_validate_addr = eth_validate_addr,
+ .ndo_set_mac_address = eth_mac_addr,
.ndo_do_ioctl = netdev_ioctl,
.ndo_tx_timeout = rhine_tx_timeout,
#ifdef CONFIG_NET_POLL_CONTROLLER