diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-04-01 17:22:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-03 17:22:15 -0400 |
commit | 22bedad3ce112d5ca1eaf043d4990fa2ed698c87 (patch) | |
tree | b6fba5688d48b1396f01d13ee53610dea7749c15 /drivers/scsi/fcoe | |
parent | a748ee2426817a95b1f03012d8f339c45c722ae1 (diff) |
net: convert multicast list to list_head
Converts the list and the core manipulating with it to be the same as uc_list.
+uses two functions for adding/removing mc address (normal and "global"
variant) instead of a function parameter.
+removes dev_mcast.c completely.
+exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for
manipulation with lists on a sandbox (used in bonding and 80211 drivers)
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/fcoe')
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index de33e38a4059..37de40e01684 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -311,7 +311,7 @@ static int fcoe_interface_setup(struct fcoe_interface *fcoe, | |||
311 | dev_uc_add(netdev, flogi_maddr); | 311 | dev_uc_add(netdev, flogi_maddr); |
312 | if (fip->spma) | 312 | if (fip->spma) |
313 | dev_uc_add(netdev, fip->ctl_src_addr); | 313 | dev_uc_add(netdev, fip->ctl_src_addr); |
314 | dev_mc_add(netdev, FIP_ALL_ENODE_MACS, ETH_ALEN, 0); | 314 | dev_mc_add(netdev, FIP_ALL_ENODE_MACS); |
315 | 315 | ||
316 | /* | 316 | /* |
317 | * setup the receive function from ethernet driver | 317 | * setup the receive function from ethernet driver |
@@ -397,7 +397,7 @@ void fcoe_interface_cleanup(struct fcoe_interface *fcoe) | |||
397 | dev_uc_del(netdev, flogi_maddr); | 397 | dev_uc_del(netdev, flogi_maddr); |
398 | if (fip->spma) | 398 | if (fip->spma) |
399 | dev_uc_del(netdev, fip->ctl_src_addr); | 399 | dev_uc_del(netdev, fip->ctl_src_addr); |
400 | dev_mc_delete(netdev, FIP_ALL_ENODE_MACS, ETH_ALEN, 0); | 400 | dev_mc_del(netdev, FIP_ALL_ENODE_MACS); |
401 | 401 | ||
402 | /* Tell the LLD we are done w/ FCoE */ | 402 | /* Tell the LLD we are done w/ FCoE */ |
403 | ops = netdev->netdev_ops; | 403 | ops = netdev->netdev_ops; |