diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2008-08-26 21:37:06 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-03 10:08:13 -0400 |
commit | 4662e82b2cb41c60826e50474dd86dd5c6372b0c (patch) | |
tree | 75a99d62d28ad8ff5d9557f4665bae177218bb2a /drivers/net/e1000e/ich8lan.c | |
parent | f4187b56e1f8a05dd110875d5094b21b51ebd79b (diff) |
e1000e: add support for new 82574L part
This new part has the same feature set as previous parts with the addition
of MSI-X support.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/e1000e/ich8lan.c')
-rw-r--r-- | drivers/net/e1000e/ich8lan.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/drivers/net/e1000e/ich8lan.c b/drivers/net/e1000e/ich8lan.c index 0e76bb0378fd..019b9c0bcdcb 100644 --- a/drivers/net/e1000e/ich8lan.c +++ b/drivers/net/e1000e/ich8lan.c | |||
@@ -422,6 +422,22 @@ static void e1000_release_swflag_ich8lan(struct e1000_hw *hw) | |||
422 | } | 422 | } |
423 | 423 | ||
424 | /** | 424 | /** |
425 | * e1000_check_mng_mode_ich8lan - Checks management mode | ||
426 | * @hw: pointer to the HW structure | ||
427 | * | ||
428 | * This checks if the adapter has manageability enabled. | ||
429 | * This is a function pointer entry point only called by read/write | ||
430 | * routines for the PHY and NVM parts. | ||
431 | **/ | ||
432 | static bool e1000_check_mng_mode_ich8lan(struct e1000_hw *hw) | ||
433 | { | ||
434 | u32 fwsm = er32(FWSM); | ||
435 | |||
436 | return (fwsm & E1000_FWSM_MODE_MASK) == | ||
437 | (E1000_ICH_MNG_IAMT_MODE << E1000_FWSM_MODE_SHIFT); | ||
438 | } | ||
439 | |||
440 | /** | ||
425 | * e1000_check_reset_block_ich8lan - Check if PHY reset is blocked | 441 | * e1000_check_reset_block_ich8lan - Check if PHY reset is blocked |
426 | * @hw: pointer to the HW structure | 442 | * @hw: pointer to the HW structure |
427 | * | 443 | * |
@@ -2400,7 +2416,7 @@ static void e1000_clear_hw_cntrs_ich8lan(struct e1000_hw *hw) | |||
2400 | } | 2416 | } |
2401 | 2417 | ||
2402 | static struct e1000_mac_operations ich8_mac_ops = { | 2418 | static struct e1000_mac_operations ich8_mac_ops = { |
2403 | .mng_mode_enab = E1000_ICH_MNG_IAMT_MODE << E1000_FWSM_MODE_SHIFT, | 2419 | .check_mng_mode = e1000_check_mng_mode_ich8lan, |
2404 | .check_for_link = e1000e_check_for_copper_link, | 2420 | .check_for_link = e1000e_check_for_copper_link, |
2405 | .cleanup_led = e1000_cleanup_led_ich8lan, | 2421 | .cleanup_led = e1000_cleanup_led_ich8lan, |
2406 | .clear_hw_cntrs = e1000_clear_hw_cntrs_ich8lan, | 2422 | .clear_hw_cntrs = e1000_clear_hw_cntrs_ich8lan, |