aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb_main.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-02-06 18:20:10 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-07 05:43:12 -0500
commit8a900862a2402565564ddcc3c6ecefb1c239d7e1 (patch)
treee3762cee0a88f60a74a9af7c7dffd6a782c04f95 /drivers/net/igb/igb_main.c
parent4b1a9877364599fe57f263597821dab6bd86f3b9 (diff)
igb: rename igb_update_mc_addr_list_82575 to not include the 82575
There isn't much point in having the _82575 hanging off the end of this function since there aren't any other version of this function running around within this driver. This also allows for a bit of whitespace cleanup due to a shorter function name. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r--drivers/net/igb/igb_main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index cbb38585633..2d169a45c42 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -2227,8 +2227,8 @@ static void igb_set_multi(struct net_device *netdev)
2227 2227
2228 if (!netdev->mc_count) { 2228 if (!netdev->mc_count) {
2229 /* nothing to program, so clear mc list */ 2229 /* nothing to program, so clear mc list */
2230 igb_update_mc_addr_list_82575(hw, NULL, 0, 1, 2230 igb_update_mc_addr_list(hw, NULL, 0, 1,
2231 mac->rar_entry_count); 2231 mac->rar_entry_count);
2232 return; 2232 return;
2233 } 2233 }
2234 2234
@@ -2245,8 +2245,7 @@ static void igb_set_multi(struct net_device *netdev)
2245 memcpy(mta_list + (i*ETH_ALEN), mc_ptr->dmi_addr, ETH_ALEN); 2245 memcpy(mta_list + (i*ETH_ALEN), mc_ptr->dmi_addr, ETH_ALEN);
2246 mc_ptr = mc_ptr->next; 2246 mc_ptr = mc_ptr->next;
2247 } 2247 }
2248 igb_update_mc_addr_list_82575(hw, mta_list, i, 1, 2248 igb_update_mc_addr_list(hw, mta_list, i, 1, mac->rar_entry_count);
2249 mac->rar_entry_count);
2250 kfree(mta_list); 2249 kfree(mta_list);
2251} 2250}
2252 2251