Deleted Added
full compact
ixgbe_api.h (238149) ixgbe_api.h (247822)
1/******************************************************************************
2
1/******************************************************************************
2
3 Copyright (c) 2001-2012, Intel Corporation
3 Copyright (c) 2001-2013, Intel Corporation
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

--- 13 unchanged lines hidden (view full) ---

25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32******************************************************************************/
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

--- 13 unchanged lines hidden (view full) ---

25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32******************************************************************************/
33/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_api.h 238149 2012-07-05 20:51:44Z jfv $*/
33/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_api.h 247822 2013-03-04 23:07:40Z jfv $*/
34
35#ifndef _IXGBE_API_H_
36#define _IXGBE_API_H_
37
38#include "ixgbe_type.h"
39
40s32 ixgbe_init_shared_code(struct ixgbe_hw *hw);
41

--- 25 unchanged lines hidden (view full) ---

67 u16 phy_data);
68
69s32 ixgbe_setup_phy_link(struct ixgbe_hw *hw);
70s32 ixgbe_check_phy_link(struct ixgbe_hw *hw,
71 ixgbe_link_speed *speed,
72 bool *link_up);
73s32 ixgbe_setup_phy_link_speed(struct ixgbe_hw *hw,
74 ixgbe_link_speed speed,
34
35#ifndef _IXGBE_API_H_
36#define _IXGBE_API_H_
37
38#include "ixgbe_type.h"
39
40s32 ixgbe_init_shared_code(struct ixgbe_hw *hw);
41

--- 25 unchanged lines hidden (view full) ---

67 u16 phy_data);
68
69s32 ixgbe_setup_phy_link(struct ixgbe_hw *hw);
70s32 ixgbe_check_phy_link(struct ixgbe_hw *hw,
71 ixgbe_link_speed *speed,
72 bool *link_up);
73s32 ixgbe_setup_phy_link_speed(struct ixgbe_hw *hw,
74 ixgbe_link_speed speed,
75 bool autoneg,
76 bool autoneg_wait_to_complete);
77void ixgbe_disable_tx_laser(struct ixgbe_hw *hw);
78void ixgbe_enable_tx_laser(struct ixgbe_hw *hw);
79void ixgbe_flap_tx_laser(struct ixgbe_hw *hw);
80s32 ixgbe_setup_link(struct ixgbe_hw *hw, ixgbe_link_speed speed,
75 bool autoneg_wait_to_complete);
76void ixgbe_disable_tx_laser(struct ixgbe_hw *hw);
77void ixgbe_enable_tx_laser(struct ixgbe_hw *hw);
78void ixgbe_flap_tx_laser(struct ixgbe_hw *hw);
79s32 ixgbe_setup_link(struct ixgbe_hw *hw, ixgbe_link_speed speed,
81 bool autoneg, bool autoneg_wait_to_complete);
80 bool autoneg_wait_to_complete);
82s32 ixgbe_check_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
83 bool *link_up, bool link_up_wait_to_complete);
84s32 ixgbe_get_link_capabilities(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
85 bool *autoneg);
86s32 ixgbe_led_on(struct ixgbe_hw *hw, u32 index);
87s32 ixgbe_led_off(struct ixgbe_hw *hw, u32 index);
88s32 ixgbe_blink_led_start(struct ixgbe_hw *hw, u32 index);
89s32 ixgbe_blink_led_stop(struct ixgbe_hw *hw, u32 index);

--- 64 unchanged lines hidden (view full) ---

154 union ixgbe_atr_input *input,
155 union ixgbe_atr_input *mask,
156 u16 soft_id,
157 u8 queue);
158void ixgbe_atr_compute_perfect_hash_82599(union ixgbe_atr_input *input,
159 union ixgbe_atr_input *mask);
160u32 ixgbe_atr_compute_sig_hash_82599(union ixgbe_atr_hash_dword input,
161 union ixgbe_atr_hash_dword common);
81s32 ixgbe_check_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
82 bool *link_up, bool link_up_wait_to_complete);
83s32 ixgbe_get_link_capabilities(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
84 bool *autoneg);
85s32 ixgbe_led_on(struct ixgbe_hw *hw, u32 index);
86s32 ixgbe_led_off(struct ixgbe_hw *hw, u32 index);
87s32 ixgbe_blink_led_start(struct ixgbe_hw *hw, u32 index);
88s32 ixgbe_blink_led_stop(struct ixgbe_hw *hw, u32 index);

--- 64 unchanged lines hidden (view full) ---

153 union ixgbe_atr_input *input,
154 union ixgbe_atr_input *mask,
155 u16 soft_id,
156 u8 queue);
157void ixgbe_atr_compute_perfect_hash_82599(union ixgbe_atr_input *input,
158 union ixgbe_atr_input *mask);
159u32 ixgbe_atr_compute_sig_hash_82599(union ixgbe_atr_hash_dword input,
160 union ixgbe_atr_hash_dword common);
161bool ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw *hw);
162s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr,
163 u8 *data);
164s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr,
165 u8 data);
166s32 ixgbe_write_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data);
167s32 ixgbe_get_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr);
168s32 ixgbe_set_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr);
169s32 ixgbe_get_device_caps(struct ixgbe_hw *hw, u16 *device_caps);
170s32 ixgbe_acquire_swfw_semaphore(struct ixgbe_hw *hw, u16 mask);
171void ixgbe_release_swfw_semaphore(struct ixgbe_hw *hw, u16 mask);
172s32 ixgbe_get_wwn_prefix(struct ixgbe_hw *hw, u16 *wwnn_prefix,
173 u16 *wwpn_prefix);
174s32 ixgbe_get_fcoe_boot_status(struct ixgbe_hw *hw, u16 *bs);
175
176#endif /* _IXGBE_API_H_ */
162s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr,
163 u8 *data);
164s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr,
165 u8 data);
166s32 ixgbe_write_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data);
167s32 ixgbe_get_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr);
168s32 ixgbe_set_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr);
169s32 ixgbe_get_device_caps(struct ixgbe_hw *hw, u16 *device_caps);
170s32 ixgbe_acquire_swfw_semaphore(struct ixgbe_hw *hw, u16 mask);
171void ixgbe_release_swfw_semaphore(struct ixgbe_hw *hw, u16 mask);
172s32 ixgbe_get_wwn_prefix(struct ixgbe_hw *hw, u16 *wwnn_prefix,
173 u16 *wwpn_prefix);
174s32 ixgbe_get_fcoe_boot_status(struct ixgbe_hw *hw, u16 *bs);
175
176#endif /* _IXGBE_API_H_ */