ixgbe_api.h revision 69b5a878d62fdee1b12e78371ce6cc8abddcad15
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm/******************************************************************************
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm Copyright (c) 2001-2012, Intel Corporation
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm All rights reserved.
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm Redistribution and use in source and binary forms, with or without
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm modification, are permitted provided that the following conditions are met:
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm 1. Redistributions of source code must retain the above copyright notice,
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm this list of conditions and the following disclaimer.
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm 2. Redistributions in binary form must reproduce the above copyright
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm notice, this list of conditions and the following disclaimer in the
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm documentation and/or other materials provided with the distribution.
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm 3. Neither the name of the Intel Corporation nor the names of its
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm contributors may be used to endorse or promote products derived from
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm this software without specific prior written permission.
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm POSSIBILITY OF SUCH DAMAGE.
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm******************************************************************************/
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gm/*$FreeBSD: src/sys/dev/ixgbe/ixgbe_api.h,v 1.14 2012/07/05 20:51:44 jfv Exp $*/
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gmenum ixgbe_media_type ixgbe_get_media_type(struct ixgbe_hw *hw);
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_get_mac_addr(struct ixgbe_hw *hw, u8 *mac_addr);
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_read_pba_num(struct ixgbe_hw *hw, u32 *pba_num);
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_read_pba_string(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size);
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_read_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type,
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_write_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type,
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_setup_link(struct ixgbe_hw *hw, ixgbe_link_speed speed,
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_check_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_get_link_capabilities(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_blink_led_start(struct ixgbe_hw *hw, u32 index);
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_write_eeprom(struct ixgbe_hw *hw, u16 offset, u16 data);
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_write_eeprom_buffer(struct ixgbe_hw *hw, u16 offset,
88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98gms32 ixgbe_read_eeprom(struct ixgbe_hw *hw, u16 offset, u16 *data);
bool clear);