Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134340
b: refs/heads/master
c: 8a90086
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Duyck authored and David S. Miller committed Feb 7, 2009
1 parent dedde50 commit 344217c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b1a9877364599fe57f263597821dab6bd86f3b9
refs/heads/master: 8a900862a2402565564ddcc3c6ecefb1c239d7e1
8 changes: 4 additions & 4 deletions trunk/drivers/net/igb/e1000_82575.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ static void igb_init_rx_addrs_82575(struct e1000_hw *hw, u16 rar_count)
}

/**
* igb_update_mc_addr_list_82575 - Update Multicast addresses
* igb_update_mc_addr_list - Update Multicast addresses
* @hw: pointer to the HW structure
* @mc_addr_list: array of multicast addresses to program
* @mc_addr_count: number of multicast addresses to program
Expand All @@ -799,9 +799,9 @@ static void igb_init_rx_addrs_82575(struct e1000_hw *hw, u16 rar_count)
* The parameter rar_count will usually be hw->mac.rar_entry_count
* unless there are workarounds that change this.
**/
void igb_update_mc_addr_list_82575(struct e1000_hw *hw,
u8 *mc_addr_list, u32 mc_addr_count,
u32 rar_used_count, u32 rar_count)
void igb_update_mc_addr_list(struct e1000_hw *hw,
u8 *mc_addr_list, u32 mc_addr_count,
u32 rar_used_count, u32 rar_count)
{
u32 hash_value;
u32 i;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/igb/e1000_82575.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#ifndef _E1000_82575_H_
#define _E1000_82575_H_

void igb_update_mc_addr_list_82575(struct e1000_hw*, u8*, u32, u32, u32);
void igb_update_mc_addr_list(struct e1000_hw*, u8*, u32, u32, u32);
extern void igb_shutdown_fiber_serdes_link_82575(struct e1000_hw *hw);
extern void igb_rx_fifo_flush_82575(struct e1000_hw *hw);

Expand Down
7 changes: 3 additions & 4 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2227,8 +2227,8 @@ static void igb_set_multi(struct net_device *netdev)

if (!netdev->mc_count) {
/* nothing to program, so clear mc list */
igb_update_mc_addr_list_82575(hw, NULL, 0, 1,
mac->rar_entry_count);
igb_update_mc_addr_list(hw, NULL, 0, 1,
mac->rar_entry_count);
return;
}

Expand All @@ -2245,8 +2245,7 @@ static void igb_set_multi(struct net_device *netdev)
memcpy(mta_list + (i*ETH_ALEN), mc_ptr->dmi_addr, ETH_ALEN);
mc_ptr = mc_ptr->next;
}
igb_update_mc_addr_list_82575(hw, mta_list, i, 1,
mac->rar_entry_count);
igb_update_mc_addr_list(hw, mta_list, i, 1, mac->rar_entry_count);
kfree(mta_list);
}

Expand Down

0 comments on commit 344217c

Please sign in to comment.