summaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/e1000_mac.c
diff options
context:
space:
mode:
authorAlexander Duyck2008-08-05 00:00:06 +0200
committerJeff Garzik2008-08-07 07:55:16 +0200
commit549bdd84dce242e15a9d7b42787ae481ba29f458 (patch)
tree384c87869bbf59df397fca7a04b95633f2df2f5d /drivers/net/igb/e1000_mac.c
parentigb: fixes 82576 serdes init to correctly support manual flow control changes (diff)
downloadkernel-qcow2-linux-549bdd84dce242e15a9d7b42787ae481ba29f458.tar.gz
kernel-qcow2-linux-549bdd84dce242e15a9d7b42787ae481ba29f458.tar.xz
kernel-qcow2-linux-549bdd84dce242e15a9d7b42787ae481ba29f458.zip
igb: correct issue of set_mta member of mac.ops not being populated
The igb_mta_set function was not being correctly used Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/igb/e1000_mac.c')
-rw-r--r--drivers/net/igb/e1000_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/igb/e1000_mac.c b/drivers/net/igb/e1000_mac.c
index 20408aa1f916..9b0f0afdaeb8 100644
--- a/drivers/net/igb/e1000_mac.c
+++ b/drivers/net/igb/e1000_mac.c
@@ -271,7 +271,7 @@ void igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index)
* current value is read, the new bit is OR'd in and the new value is
* written back into the register.
**/
-static void igb_mta_set(struct e1000_hw *hw, u32 hash_value)
+void igb_mta_set(struct e1000_hw *hw, u32 hash_value)
{
u32 hash_bit, hash_reg, mta;