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
@@ -664,7 +664,7 @@ static const struct net_device_ops lance_netdev_ops = {
|
||||
.ndo_stop = lance_close,
|
||||
.ndo_start_xmit = lance_start_xmit,
|
||||
.ndo_tx_timeout = lance_tx_timeout,
|
||||
.ndo_set_multicast_list = lance_set_multicast,
|
||||
.ndo_set_rx_mode = lance_set_multicast,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -659,7 +659,7 @@ static const struct net_device_ops am79c961_netdev_ops = {
|
||||
.ndo_open = am79c961_open,
|
||||
.ndo_stop = am79c961_close,
|
||||
.ndo_start_xmit = am79c961_sendpacket,
|
||||
.ndo_set_multicast_list = am79c961_setmulticastlist,
|
||||
.ndo_set_rx_mode = am79c961_setmulticastlist,
|
||||
.ndo_tx_timeout = am79c961_timeout,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
|
@@ -1798,7 +1798,7 @@ static const struct net_device_ops amd8111e_netdev_ops = {
|
||||
.ndo_start_xmit = amd8111e_start_xmit,
|
||||
.ndo_tx_timeout = amd8111e_tx_timeout,
|
||||
.ndo_get_stats = amd8111e_get_stats,
|
||||
.ndo_set_multicast_list = amd8111e_set_multicast_list,
|
||||
.ndo_set_rx_mode = amd8111e_set_multicast_list,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_set_mac_address = amd8111e_set_mac_address,
|
||||
.ndo_do_ioctl = amd8111e_ioctl,
|
||||
|
@@ -704,7 +704,7 @@ static const struct net_device_ops ariadne_netdev_ops = {
|
||||
.ndo_start_xmit = ariadne_start_xmit,
|
||||
.ndo_tx_timeout = ariadne_tx_timeout,
|
||||
.ndo_get_stats = ariadne_get_stats,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -456,7 +456,7 @@ static const struct net_device_ops lance_netdev_ops = {
|
||||
.ndo_open = lance_open,
|
||||
.ndo_stop = lance_close,
|
||||
.ndo_start_xmit = lance_start_xmit,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_set_mac_address = lance_set_mac_address,
|
||||
.ndo_tx_timeout = lance_tx_timeout,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
|
@@ -1010,7 +1010,7 @@ static const struct net_device_ops au1000_netdev_ops = {
|
||||
.ndo_open = au1000_open,
|
||||
.ndo_stop = au1000_close,
|
||||
.ndo_start_xmit = au1000_tx,
|
||||
.ndo_set_multicast_list = au1000_multicast_list,
|
||||
.ndo_set_rx_mode = au1000_multicast_list,
|
||||
.ndo_do_ioctl = au1000_ioctl,
|
||||
.ndo_tx_timeout = au1000_tx_timeout,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -1015,7 +1015,7 @@ static const struct net_device_ops lance_netdev_ops = {
|
||||
.ndo_stop = lance_close,
|
||||
.ndo_start_xmit = lance_start_xmit,
|
||||
.ndo_tx_timeout = lance_tx_timeout,
|
||||
.ndo_set_multicast_list = lance_set_multicast,
|
||||
.ndo_set_rx_mode = lance_set_multicast,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -572,7 +572,7 @@ static const struct net_device_ops depca_netdev_ops = {
|
||||
.ndo_open = depca_open,
|
||||
.ndo_start_xmit = depca_start_xmit,
|
||||
.ndo_stop = depca_close,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_do_ioctl = depca_ioctl,
|
||||
.ndo_tx_timeout = depca_tx_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
|
@@ -74,7 +74,7 @@ static const struct net_device_ops hplance_netdev_ops = {
|
||||
.ndo_open = hplance_open,
|
||||
.ndo_stop = hplance_close,
|
||||
.ndo_start_xmit = lance_start_xmit,
|
||||
.ndo_set_multicast_list = lance_set_multicast,
|
||||
.ndo_set_rx_mode = lance_set_multicast,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -459,7 +459,7 @@ static const struct net_device_ops lance_netdev_ops = {
|
||||
.ndo_start_xmit = lance_start_xmit,
|
||||
.ndo_stop = lance_close,
|
||||
.ndo_get_stats = lance_get_stats,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_tx_timeout = lance_tx_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -61,7 +61,7 @@ static const struct net_device_ops lance_netdev_ops = {
|
||||
.ndo_open = m147lance_open,
|
||||
.ndo_stop = m147lance_close,
|
||||
.ndo_start_xmit = lance_start_xmit,
|
||||
.ndo_set_multicast_list = lance_set_multicast,
|
||||
.ndo_set_rx_mode = lance_set_multicast,
|
||||
.ndo_tx_timeout = lance_tx_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
|
@@ -406,7 +406,7 @@ static const struct net_device_ops ni65_netdev_ops = {
|
||||
.ndo_stop = ni65_close,
|
||||
.ndo_start_xmit = ni65_send_packet,
|
||||
.ndo_tx_timeout = ni65_timeout,
|
||||
.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,
|
||||
|
@@ -430,7 +430,7 @@ static const struct net_device_ops mace_netdev_ops = {
|
||||
.ndo_tx_timeout = mace_tx_timeout,
|
||||
.ndo_set_config = mace_config,
|
||||
.ndo_get_stats = mace_get_stats,
|
||||
.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,
|
||||
|
@@ -1505,7 +1505,7 @@ static const struct net_device_ops pcnet32_netdev_ops = {
|
||||
.ndo_start_xmit = pcnet32_start_xmit,
|
||||
.ndo_tx_timeout = pcnet32_tx_timeout,
|
||||
.ndo_get_stats = pcnet32_get_stats,
|
||||
.ndo_set_multicast_list = pcnet32_set_multicast_list,
|
||||
.ndo_set_rx_mode = pcnet32_set_multicast_list,
|
||||
.ndo_do_ioctl = pcnet32_ioctl,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
@@ -297,7 +297,7 @@ static const struct net_device_ops lance_netdev_ops = {
|
||||
.ndo_open = lance_open,
|
||||
.ndo_stop = lance_close,
|
||||
.ndo_start_xmit = lance_start_xmit,
|
||||
.ndo_set_multicast_list = set_multicast_list,
|
||||
.ndo_set_rx_mode = set_multicast_list,
|
||||
.ndo_set_mac_address = NULL,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
|
@@ -1298,7 +1298,7 @@ static const struct net_device_ops sparc_lance_ops = {
|
||||
.ndo_open = lance_open,
|
||||
.ndo_stop = lance_close,
|
||||
.ndo_start_xmit = lance_start_xmit,
|
||||
.ndo_set_multicast_list = lance_set_multicast,
|
||||
.ndo_set_rx_mode = lance_set_multicast,
|
||||
.ndo_tx_timeout = lance_tx_timeout,
|
||||
.ndo_change_mtu = eth_change_mtu,
|
||||
.ndo_set_mac_address = eth_mac_addr,
|
||||
|
Reference in New Issue
Block a user