xref: /linux/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h (revision e0bf6c5ca2d3281f231c5f0c9bf145e9513644de)
1 /*******************************************************************************
2  *
3  * Intel 10 Gigabit PCI Express Linux driver
4  *  Copyright(c) 1999 - 2014 Intel Corporation.
5  *
6  *  This program is free software; you can redistribute it and/or modify it
7  *  under the terms and conditions of the GNU General Public License,
8  *  version 2, as published by the Free Software Foundation.
9  *
10  *  This program is distributed in the hope it will be useful, but WITHOUT
11  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  *  more details.
14  *
15  *  The full GNU General Public License is included in this distribution in
16  *  the file called "COPYING".
17  *
18  *  Contact Information:
19  *  Linux NICS <linux.nics@intel.com>
20  *  e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
21  *  Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
22  *
23  *****************************************************************************/
24 
25 #include "ixgbe_type.h"
26 
27 s32 ixgbe_get_invariants_X540(struct ixgbe_hw *hw);
28 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
29 			      bool autoneg_wait_to_complete);
30 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw);
31 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw);
32 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw);
33 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
34 			      bool autoneg_wait_to_complete);
35 s32 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index);
36 s32 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index);
37 s32 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
38 void ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
39 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw);
40