diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-07-23 18:09:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-26 09:46:53 -0700 |
commit | 5ac1665906559768029c398d9ede8e7cdd73004e (patch) | |
tree | e9b24ef5346d28ccd915fffb5047af7ff7cfaf4f /drivers/net/igb/e1000_mac.h | |
parent | 28fc06f58b1fe567bb86c7d0e3d93137e5c0126e (diff) | |
download | kernel_samsung_espresso10-5ac1665906559768029c398d9ede8e7cdd73004e.zip kernel_samsung_espresso10-5ac1665906559768029c398d9ede8e7cdd73004e.tar.gz kernel_samsung_espresso10-5ac1665906559768029c398d9ede8e7cdd73004e.tar.bz2 |
igb: cleanup receive address register initialization
This update cleans up the receive address register initialization. The
main purpose of this is to clean out some redundancy that was introduced
due to having multiple ways of setting the receive address registers.
Instead of having a specialized function to set one register and one to set
all of them it makes more sense to just go through the list calling the
function that is needed to set the individual registers.
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/e1000_mac.h')
-rw-r--r-- | drivers/net/igb/e1000_mac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/igb/e1000_mac.h b/drivers/net/igb/e1000_mac.h index f9ebfb3..7518af8 100644 --- a/drivers/net/igb/e1000_mac.h +++ b/drivers/net/igb/e1000_mac.h @@ -62,6 +62,7 @@ void igb_clear_hw_cntrs_base(struct e1000_hw *hw); void igb_clear_vfta(struct e1000_hw *hw); s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add); void igb_config_collision_dist(struct e1000_hw *hw); +void igb_init_rx_addrs(struct e1000_hw *hw, u16 rar_count); void igb_mta_set(struct e1000_hw *hw, u32 hash_value); void igb_put_hw_semaphore(struct e1000_hw *hw); void igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index); |