]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
myri_sbus/sunbmac/sunlance/sunqe: Add missing net_device_ops entries.
authorDavid S. Miller <davem@davemloft.net>
Mon, 23 Mar 2009 21:29:24 +0000 (14:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Mar 2009 21:29:24 +0000 (14:29 -0700)
Noticed by Stephen Hemminger.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/myri_sbus.c
drivers/net/sunbmac.c
drivers/net/sunlance.c
drivers/net/sunqe.c

index 4ced27f1830c450fde0f8be7d818e2769d83277b..08534c08d30d669cecd97e9c258c97fbe10acd9c 100644 (file)
@@ -903,6 +903,8 @@ static const struct net_device_ops myri_ops = {
        .ndo_set_multicast_list = myri_set_multicast,
        .ndo_tx_timeout         = myri_tx_timeout,
        .ndo_change_mtu         = myri_change_mtu,
+       .ndo_set_mac_address    = eth_mac_addr,
+       .ndo_validate_addr      = eth_validate_addr,
 };
 
 static int __devinit myri_sbus_probe(struct of_device *op, const struct of_device_id *match)
index 70d96b7d71a010801cf7f389108ed9f10e843a38..5017d7fcb40cabc262b172d0603eef8b353d4b46 100644 (file)
@@ -1081,6 +1081,9 @@ static const struct net_device_ops bigmac_ops = {
        .ndo_get_stats          = bigmac_get_stats,
        .ndo_set_multicast_list = bigmac_set_multicast,
        .ndo_tx_timeout         = bigmac_tx_timeout,
+       .ndo_change_mtu         = eth_change_mtu,
+       .ndo_set_mac_address    = eth_mac_addr,
+       .ndo_validate_addr      = eth_validate_addr,
 };
 
 static int __devinit bigmac_ether_init(struct of_device *op,
index 3a2bb9684664694e1b00477f94d1781222a493ed..afc7b351e5ec43a5723290ca7e958a08806bf544 100644 (file)
@@ -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,
index dd4757d087eb9cbf333ce60eea43318b2c4569ea..c6ec61e0accfaa19f41e8bdb5c3ffdb6ad45de62 100644 (file)
@@ -835,6 +835,9 @@ static const struct net_device_ops qec_ops = {
        .ndo_start_xmit         = qe_start_xmit,
        .ndo_set_multicast_list = qe_set_multicast,
        .ndo_tx_timeout         = qe_tx_timeout,
+       .ndo_change_mtu         = eth_change_mtu,
+       .ndo_set_mac_address    = eth_mac_addr,
+       .ndo_validate_addr      = eth_validate_addr,
 };
 
 static int __devinit qec_ether_init(struct of_device *op)