179251f5eSSepherosa Ziehau /****************************************************************************** 279251f5eSSepherosa Ziehau 3*6150453fSSepherosa Ziehau Copyright (c) 2001-2017, Intel Corporation 479251f5eSSepherosa Ziehau All rights reserved. 579251f5eSSepherosa Ziehau 679251f5eSSepherosa Ziehau Redistribution and use in source and binary forms, with or without 779251f5eSSepherosa Ziehau modification, are permitted provided that the following conditions are met: 879251f5eSSepherosa Ziehau 979251f5eSSepherosa Ziehau 1. Redistributions of source code must retain the above copyright notice, 1079251f5eSSepherosa Ziehau this list of conditions and the following disclaimer. 1179251f5eSSepherosa Ziehau 1279251f5eSSepherosa Ziehau 2. Redistributions in binary form must reproduce the above copyright 1379251f5eSSepherosa Ziehau notice, this list of conditions and the following disclaimer in the 1479251f5eSSepherosa Ziehau documentation and/or other materials provided with the distribution. 1579251f5eSSepherosa Ziehau 1679251f5eSSepherosa Ziehau 3. Neither the name of the Intel Corporation nor the names of its 1779251f5eSSepherosa Ziehau contributors may be used to endorse or promote products derived from 1879251f5eSSepherosa Ziehau this software without specific prior written permission. 1979251f5eSSepherosa Ziehau 2079251f5eSSepherosa Ziehau THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 2179251f5eSSepherosa Ziehau AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2279251f5eSSepherosa Ziehau IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2379251f5eSSepherosa Ziehau ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 2479251f5eSSepherosa Ziehau LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2579251f5eSSepherosa Ziehau CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2679251f5eSSepherosa Ziehau SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2779251f5eSSepherosa Ziehau INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2879251f5eSSepherosa Ziehau CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2979251f5eSSepherosa Ziehau ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 3079251f5eSSepherosa Ziehau POSSIBILITY OF SUCH DAMAGE. 3179251f5eSSepherosa Ziehau 3279251f5eSSepherosa Ziehau ******************************************************************************/ 3379251f5eSSepherosa Ziehau /*$FreeBSD$*/ 3479251f5eSSepherosa Ziehau 3579251f5eSSepherosa Ziehau #ifndef _IXGBE_82598_H_ 3679251f5eSSepherosa Ziehau #define _IXGBE_82598_H_ 3779251f5eSSepherosa Ziehau 3879251f5eSSepherosa Ziehau u32 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw); 3979251f5eSSepherosa Ziehau s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw); 4079251f5eSSepherosa Ziehau s32 ixgbe_start_hw_82598(struct ixgbe_hw *hw); 4179251f5eSSepherosa Ziehau void ixgbe_enable_relaxed_ordering_82598(struct ixgbe_hw *hw); 4279251f5eSSepherosa Ziehau s32 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq); 43*6150453fSSepherosa Ziehau s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, 44*6150453fSSepherosa Ziehau bool vlvf_bypass); 4579251f5eSSepherosa Ziehau s32 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val); 4679251f5eSSepherosa Ziehau s32 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val); 4779251f5eSSepherosa Ziehau s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, 4879251f5eSSepherosa Ziehau u8 *eeprom_data); 49*6150453fSSepherosa Ziehau u64 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw); 5079251f5eSSepherosa Ziehau s32 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw); 5179251f5eSSepherosa Ziehau void ixgbe_set_lan_id_multi_port_pcie_82598(struct ixgbe_hw *hw); 5279251f5eSSepherosa Ziehau void ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw); 5363d483cdSSepherosa Ziehau s32 ixgbe_enable_rx_dma_82598(struct ixgbe_hw *hw, u32 regval); 5479251f5eSSepherosa Ziehau #endif /* _IXGBE_82598_H_ */ 55