ixgbe_82599.h revision 247822
1230775Sjfv/****************************************************************************** 2230775Sjfv 3247822Sjfv Copyright (c) 2001-2013, Intel Corporation 4230775Sjfv All rights reserved. 5230775Sjfv 6230775Sjfv Redistribution and use in source and binary forms, with or without 7230775Sjfv modification, are permitted provided that the following conditions are met: 8230775Sjfv 9230775Sjfv 1. Redistributions of source code must retain the above copyright notice, 10230775Sjfv this list of conditions and the following disclaimer. 11230775Sjfv 12230775Sjfv 2. Redistributions in binary form must reproduce the above copyright 13230775Sjfv notice, this list of conditions and the following disclaimer in the 14230775Sjfv documentation and/or other materials provided with the distribution. 15230775Sjfv 16230775Sjfv 3. Neither the name of the Intel Corporation nor the names of its 17230775Sjfv contributors may be used to endorse or promote products derived from 18230775Sjfv this software without specific prior written permission. 19230775Sjfv 20230775Sjfv THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21230775Sjfv AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22230775Sjfv IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23230775Sjfv ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 24230775Sjfv LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25230775Sjfv CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26230775Sjfv SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27230775Sjfv INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28230775Sjfv CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29230775Sjfv ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30230775Sjfv POSSIBILITY OF SUCH DAMAGE. 31230775Sjfv 32230775Sjfv******************************************************************************/ 33230775Sjfv/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_82599.h 247822 2013-03-04 23:07:40Z jfv $*/ 34230775Sjfv 35230775Sjfv#ifndef _IXGBE_82599_H_ 36230775Sjfv#define _IXGBE_82599_H_ 37230775Sjfv 38230775Sjfvs32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, 39230775Sjfv ixgbe_link_speed *speed, bool *autoneg); 40230775Sjfvenum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw); 41230775Sjfvvoid ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 42230775Sjfvvoid ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 43230775Sjfvvoid ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 44230775Sjfvs32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, 45247822Sjfv ixgbe_link_speed speed, 46230775Sjfv bool autoneg_wait_to_complete); 47230775Sjfvs32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, 48247822Sjfv ixgbe_link_speed speed, 49230775Sjfv bool autoneg_wait_to_complete); 50230775Sjfvs32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, 51230775Sjfv bool autoneg_wait_to_complete); 52230775Sjfvs32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, 53247822Sjfv bool autoneg_wait_to_complete); 54230775Sjfvs32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw); 55230775Sjfvvoid ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw); 56230775Sjfvs32 ixgbe_reset_hw_82599(struct ixgbe_hw *hw); 57230775Sjfvs32 ixgbe_read_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 *val); 58230775Sjfvs32 ixgbe_write_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 val); 59230775Sjfvs32 ixgbe_start_hw_82599(struct ixgbe_hw *hw); 60230775Sjfvs32 ixgbe_identify_phy_82599(struct ixgbe_hw *hw); 61230775Sjfvs32 ixgbe_init_phy_ops_82599(struct ixgbe_hw *hw); 62230775Sjfvu32 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw); 63230775Sjfvs32 ixgbe_enable_rx_dma_82599(struct ixgbe_hw *hw, u32 regval); 64230775Sjfv#endif /* _IXGBE_82599_H_ */ 65