summaryrefslogtreecommitdiffstats
path: root/drivers/net/sunlance.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-03-23 14:29:24 -0700
committerDavid S. Miller <davem@davemloft.net>2009-03-23 14:29:24 -0700
commitdac4696a4b4f6823efda32f92dbc236a918c376f (patch)
treef3a81c97d46b17489bbbbf00b548afc74842bf50 /drivers/net/sunlance.c
parent8be7cdccacfbfc707e7370cad9bb168defed636f (diff)
downloadop-kernel-dev-dac4696a4b4f6823efda32f92dbc236a918c376f.zip
op-kernel-dev-dac4696a4b4f6823efda32f92dbc236a918c376f.tar.gz
myri_sbus/sunbmac/sunlance/sunqe: Add missing net_device_ops entries.
Noticed by Stephen Hemminger. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunlance.c')
-rw-r--r--drivers/net/sunlance.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/sunlance.c b/drivers/net/sunlance.c
index 3a2bb96..afc7b35 100644
--- a/drivers/net/sunlance.c
+++ b/drivers/net/sunlance.c
@@ -1317,6 +1317,9 @@ static const struct net_device_ops sparc_lance_ops = {
.ndo_start_xmit = lance_start_xmit,
.ndo_set_multicast_list = lance_set_multicast,
.ndo_tx_timeout = lance_tx_timeout,
+ .ndo_change_mtu = eth_change_mtu,
+ .ndo_set_mac_address = eth_mac_addr,
+ .ndo_validate_addr = eth_validate_addr,
};
static int __devinit sparc_lance_probe_one(struct of_device *op,
OpenPOWER on IntegriCloud