ixgbe_82599.h revision 230775
1142425Snectar/****************************************************************************** 2160814Ssimon 3142425Snectar Copyright (c) 2001-2012, Intel Corporation 4142425Snectar All rights reserved. 5142425Snectar 6142425Snectar Redistribution and use in source and binary forms, with or without 7142425Snectar modification, are permitted provided that the following conditions are met: 8142425Snectar 9142425Snectar 1. Redistributions of source code must retain the above copyright notice, 10142425Snectar this list of conditions and the following disclaimer. 11142425Snectar 12142425Snectar 2. Redistributions in binary form must reproduce the above copyright 13142425Snectar notice, this list of conditions and the following disclaimer in the 14142425Snectar documentation and/or other materials provided with the distribution. 15142425Snectar 16142425Snectar 3. Neither the name of the Intel Corporation nor the names of its 17142425Snectar contributors may be used to endorse or promote products derived from 18142425Snectar this software without specific prior written permission. 19142425Snectar 20142425Snectar THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21142425Snectar AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22142425Snectar IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23142425Snectar ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 24142425Snectar LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25142425Snectar CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26142425Snectar SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27142425Snectar INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28142425Snectar CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29142425Snectar ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30142425Snectar POSSIBILITY OF SUCH DAMAGE. 31142425Snectar 32142425Snectar******************************************************************************/ 33142425Snectar/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_82599.h 230775 2012-01-30 16:42:02Z jfv $*/ 34142425Snectar 35142425Snectar#ifndef _IXGBE_82599_H_ 36142425Snectar#define _IXGBE_82599_H_ 37142425Snectar 38142425Snectars32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, 39238405Sjkim ixgbe_link_speed *speed, bool *autoneg); 40142425Snectarenum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw); 41142425Snectarvoid ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 42142425Snectarvoid ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 43142425Snectarvoid ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 44142425Snectars32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, 45142425Snectar ixgbe_link_speed speed, bool autoneg, 46142425Snectar bool autoneg_wait_to_complete); 47142425Snectars32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, 48142425Snectar ixgbe_link_speed speed, bool autoneg, 49142425Snectar bool autoneg_wait_to_complete); 50142425Snectars32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, 51142425Snectar bool autoneg_wait_to_complete); 52160814Ssimons32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, 53160814Ssimon bool autoneg, bool autoneg_wait_to_complete); 54142425Snectars32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw); 55142425Snectarvoid ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw); 56142425Snectars32 ixgbe_reset_hw_82599(struct ixgbe_hw *hw); 57142425Snectars32 ixgbe_read_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 *val); 58142425Snectars32 ixgbe_write_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 val); 59142425Snectars32 ixgbe_start_hw_82599(struct ixgbe_hw *hw); 60142425Snectars32 ixgbe_identify_phy_82599(struct ixgbe_hw *hw); 61142425Snectars32 ixgbe_init_phy_ops_82599(struct ixgbe_hw *hw); 62142425Snectaru32 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw); 63142425Snectars32 ixgbe_enable_rx_dma_82599(struct ixgbe_hw *hw, u32 regval); 64142425Snectarbool ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw *hw); 65142425Snectar#endif /* _IXGBE_82599_H_ */ 66142425Snectar