diff options
author | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2009-02-07 00:46:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-07 00:46:54 -0500 |
commit | 0ecc061d1967e9f2694502079e00d9d6e1e39072 (patch) | |
tree | 40a06f43717f97d6dade8fbb55bad15740033799 /drivers/net/ixgbe/ixgbe_common.h | |
parent | 394827913e371b058849349c6fc9d52c59c31a3d (diff) |
ixgbe: Update flow control state machine in link setup
The flow control handling is overly complicated and difficult to maintain.
This patch cleans up the flow control handling and makes it much more
explicit. It also adds 1G flow control autonegotiation, for 1G copper
links, 1G KX links, and 1G fiber links.
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_common.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_common.h b/drivers/net/ixgbe/ixgbe_common.h index 0b5ba5755805..c63021261e56 100644 --- a/drivers/net/ixgbe/ixgbe_common.h +++ b/drivers/net/ixgbe/ixgbe_common.h | |||
@@ -61,6 +61,9 @@ s32 ixgbe_update_uc_addr_list_generic(struct ixgbe_hw *hw, u8 *addr_list, | |||
61 | u32 addr_count, ixgbe_mc_addr_itr func); | 61 | u32 addr_count, ixgbe_mc_addr_itr func); |
62 | s32 ixgbe_enable_mc_generic(struct ixgbe_hw *hw); | 62 | s32 ixgbe_enable_mc_generic(struct ixgbe_hw *hw); |
63 | s32 ixgbe_disable_mc_generic(struct ixgbe_hw *hw); | 63 | s32 ixgbe_disable_mc_generic(struct ixgbe_hw *hw); |
64 | s32 ixgbe_setup_fc_generic(struct ixgbe_hw *hw, s32 packetbuf_num); | ||
65 | s32 ixgbe_fc_enable(struct ixgbe_hw *hw, s32 packtetbuf_num); | ||
66 | s32 ixgbe_fc_autoneg(struct ixgbe_hw *hw); | ||
64 | 67 | ||
65 | s32 ixgbe_validate_mac_addr(u8 *mac_addr); | 68 | s32 ixgbe_validate_mac_addr(u8 *mac_addr); |
66 | s32 ixgbe_acquire_swfw_sync(struct ixgbe_hw *hw, u16 mask); | 69 | s32 ixgbe_acquire_swfw_sync(struct ixgbe_hw *hw, u16 mask); |