[Patch 2/5 2.5] e1000: remove unused function e1000_enable_mng_pass_thru
From: Ganesh Venkatesan <hidden>
Date: 2004-10-15 13:52:26
diff -up netdev-2.6/drivers/net/e1000/e1000_hw.c netdev-2.6/drivers/net/e1000.new/e1000_hw.c
--- netdev-2.6/drivers/net/e1000/e1000_hw.c 2004-10-07 13:59:52.000000000 -0700
+++ netdev-2.6/drivers/net/e1000.new/e1000_hw.c 2004-10-07 13:59:53.000000000 -0700@@ -5221,31 +5221,6 @@ e1000_set_vco_speed(struct e1000_hw *hw) return E1000_SUCCESS; } -/****************************************************************************** - * Verifies the hardware needs to allow ARPs to be processed by the host - * - * hw - Struct containing variables accessed by shared code - * - * returns: - TRUE/FALSE - * - *****************************************************************************/ -uint32_t -e1000_enable_mng_pass_thru(struct e1000_hw *hw) -{ - uint32_t manc; - - if (hw->asf_firmware_present) { - manc = E1000_READ_REG(hw, MANC); - - if (!(manc & E1000_MANC_RCV_TCO_EN) || - !(manc & E1000_MANC_EN_MAC_ADDR_FILTER)) - return FALSE; - if ((manc & E1000_MANC_SMBUS_EN) && !(manc & E1000_MANC_ASF_EN)) - return TRUE; - } - return FALSE; -} - static int32_t e1000_polarity_reversal_workaround(struct e1000_hw *hw) {