net: remove use of ndo_set_multicast_list in drivers
replace it by ndo_set_rx_mode Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
01789349ee
commit
afc4b13df1
@@ -1363,7 +1363,7 @@ static const struct net_device_ops elp_netdev_ops = {
|
||||
.ndo_get_stats = elp_get_stats,
|
||||
.ndo_start_xmit = elp_start_xmit,
|
||||
.ndo_tx_timeout = elp_timeout,
|
||||
.ndo_set_multicast_list = elp_set_mc_list,
|
||||
.ndo_set_rx_mode = elp_set_mc_list,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
|
@@ -409,7 +409,7 @@ static const struct net_device_ops netdev_ops = {
|
||||
.ndo_start_xmit = elmc_send_packet,
|
||||
.ndo_tx_timeout = elmc_timeout,
|
||||
#ifdef ELMC_MULTICAST
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
#endif
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -292,7 +292,7 @@ static const struct net_device_ops netdev_ops = {
|
||||
.ndo_stop = mc32_close,
|
||||
.ndo_start_xmit = mc32_send_packet,
|
||||
.ndo_get_stats = mc32_get_stats,
|
||||
.ndo_set_multicast_list = mc32_set_multicast_list,
|
||||
.ndo_set_rx_mode = mc32_set_multicast_list,
|
||||
.ndo_tx_timeout = mc32_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -1145,7 +1145,7 @@ static const struct net_device_ops i596_netdev_ops = {
|
||||
.ndo_open = i596_open,
|
||||
.ndo_stop = i596_close,
|
||||
.ndo_start_xmit = i596_start_xmit,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_tx_timeout = i596_tx_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -743,7 +743,7 @@ static const struct net_device_ops eepro_netdev_ops = {
|
||||
.ndo_open = eepro_open,
|
||||
.ndo_stop = eepro_close,
|
||||
.ndo_start_xmit = eepro_send_packet,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_tx_timeout = eepro_tx_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -1047,7 +1047,7 @@ static const struct net_device_ops eexp_netdev_ops = {
|
||||
.ndo_open = eexp_open,
|
||||
.ndo_stop = eexp_close,
|
||||
.ndo_start_xmit = eexp_xmit,
|
||||
.ndo_set_multicast_list = eexp_set_multicast,
|
||||
.ndo_set_rx_mode = eexp_set_multicast,
|
||||
.ndo_tx_timeout = eexp_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -985,7 +985,7 @@ static const struct net_device_ops ether1_netdev_ops = {
|
||||
.ndo_open = ether1_open,
|
||||
.ndo_stop = ether1_close,
|
||||
.ndo_start_xmit = ether1_sendpacket,
|
||||
.ndo_set_multicast_list = ether1_setmulticastlist,
|
||||
.ndo_set_rx_mode = ether1_setmulticastlist,
|
||||
.ndo_tx_timeout = ether1_timeout,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
|
@@ -1038,7 +1038,7 @@ static const struct net_device_ops i596_netdev_ops = {
|
||||
.ndo_open = i596_open,
|
||||
.ndo_stop = i596_close,
|
||||
.ndo_start_xmit = i596_start_xmit,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_tx_timeout = i596_tx_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
|
@@ -954,7 +954,7 @@ static const struct net_device_ops i596_netdev_ops = {
|
||||
.ndo_open = i596_open,
|
||||
.ndo_stop = i596_close,
|
||||
.ndo_start_xmit = i596_start_xmit,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_tx_timeout = i596_tx_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -445,7 +445,7 @@ static const struct net_device_ops ni52_netdev_ops = {
|
||||
.ndo_get_stats = ni52_get_stats,
|
||||
.ndo_tx_timeout = ni52_timeout,
|
||||
.ndo_start_xmit = ni52_send_packet,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
|
@@ -333,7 +333,7 @@ static const struct net_device_ops sun3_82586_netdev_ops = {
|
||||
.ndo_open = sun3_82586_open,
|
||||
.ndo_stop = sun3_82586_close,
|
||||
.ndo_start_xmit = sun3_82586_send_packet,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_tx_timeout = sun3_82586_timeout,
|
||||
.ndo_get_stats = sun3_82586_get_stats,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
|
@@ -356,7 +356,7 @@ static const struct net_device_ops znet_netdev_ops = {
|
||||
.ndo_open = znet_open,
|
||||
.ndo_stop = znet_close,
|
||||
.ndo_start_xmit = znet_send_packet,
|
||||
.ndo_set_multicast_list = znet_set_multicast_list,
|
||||
.ndo_set_rx_mode = znet_set_multicast_list,
|
||||
.ndo_tx_timeout = znet_tx_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
Reference in New Issue
Block a user