Commit dac4696a4b4f6823efda32f92dbc236a918c376f

Authored by David S. Miller
1 parent 8be7cdccac

myri_sbus/sunbmac/sunlance/sunqe: Add missing net_device_ops entries.

Noticed by Stephen Hemminger.

Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 4 changed files with 11 additions and 0 deletions Side-by-side Diff

drivers/net/myri_sbus.c
... ... @@ -903,6 +903,8 @@
903 903 .ndo_set_multicast_list = myri_set_multicast,
904 904 .ndo_tx_timeout = myri_tx_timeout,
905 905 .ndo_change_mtu = myri_change_mtu,
  906 + .ndo_set_mac_address = eth_mac_addr,
  907 + .ndo_validate_addr = eth_validate_addr,
906 908 };
907 909  
908 910 static int __devinit myri_sbus_probe(struct of_device *op, const struct of_device_id *match)
drivers/net/sunbmac.c
... ... @@ -1081,6 +1081,9 @@
1081 1081 .ndo_get_stats = bigmac_get_stats,
1082 1082 .ndo_set_multicast_list = bigmac_set_multicast,
1083 1083 .ndo_tx_timeout = bigmac_tx_timeout,
  1084 + .ndo_change_mtu = eth_change_mtu,
  1085 + .ndo_set_mac_address = eth_mac_addr,
  1086 + .ndo_validate_addr = eth_validate_addr,
1084 1087 };
1085 1088  
1086 1089 static int __devinit bigmac_ether_init(struct of_device *op,
drivers/net/sunlance.c
... ... @@ -1317,6 +1317,9 @@
1317 1317 .ndo_start_xmit = lance_start_xmit,
1318 1318 .ndo_set_multicast_list = lance_set_multicast,
1319 1319 .ndo_tx_timeout = lance_tx_timeout,
  1320 + .ndo_change_mtu = eth_change_mtu,
  1321 + .ndo_set_mac_address = eth_mac_addr,
  1322 + .ndo_validate_addr = eth_validate_addr,
1320 1323 };
1321 1324  
1322 1325 static int __devinit sparc_lance_probe_one(struct of_device *op,
... ... @@ -835,6 +835,9 @@
835 835 .ndo_start_xmit = qe_start_xmit,
836 836 .ndo_set_multicast_list = qe_set_multicast,
837 837 .ndo_tx_timeout = qe_tx_timeout,
  838 + .ndo_change_mtu = eth_change_mtu,
  839 + .ndo_set_mac_address = eth_mac_addr,
  840 + .ndo_validate_addr = eth_validate_addr,
838 841 };
839 842  
840 843 static int __devinit qec_ether_init(struct of_device *op)