diff options
author | Donald Skidmore <donald.c.skidmore@intel.com> | 2008-11-21 00:11:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-21 00:11:42 -0500 |
commit | c4900be053d376dfe4f603d000aa5e4c60745dec (patch) | |
tree | f5658e8d4f2345e0f15346020fe3aeb2adb48905 /drivers/net/ixgbe/ixgbe.h | |
parent | 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e (diff) |
ixgbe: add SFP+ driver support
This patch adds support for SFP+ PHY in the following device ID's (10DB,
10F1, 10E1). These SFP+ PHY's are accessed via an I2C interface so the
patch also includes functions to support this.
Another feature of note is that the PHY is pluggable and some
rearchitecting was needed to support this.
Signed-off-by: Donald Skidmore <donald.c.skidmore@intel.com>
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.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 796f189f3879..9509aee2d361 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -311,12 +311,15 @@ struct ixgbe_adapter { | |||
311 | unsigned long link_check_timeout; | 311 | unsigned long link_check_timeout; |
312 | 312 | ||
313 | struct work_struct watchdog_task; | 313 | struct work_struct watchdog_task; |
314 | struct work_struct sfp_task; | ||
315 | struct timer_list sfp_timer; | ||
314 | }; | 316 | }; |
315 | 317 | ||
316 | enum ixbge_state_t { | 318 | enum ixbge_state_t { |
317 | __IXGBE_TESTING, | 319 | __IXGBE_TESTING, |
318 | __IXGBE_RESETTING, | 320 | __IXGBE_RESETTING, |
319 | __IXGBE_DOWN | 321 | __IXGBE_DOWN, |
322 | __IXGBE_SFP_MODULE_NOT_FOUND | ||
320 | }; | 323 | }; |
321 | 324 | ||
322 | enum ixgbe_boards { | 325 | enum ixgbe_boards { |