Print this page
3534 Disable EEE support in igb for I350

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/igb/igb_82575.c
          +++ new/usr/src/uts/common/io/igb/igb_82575.c
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2007-2012 Intel Corporation. All rights reserved.
  24   24   */
  25   25  
  26   26  /*
  27   27   * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
       28 + * Copyright 2013, Nexenta Systems, Inc. All rights reserved.
  28   29   */
  29   30  
  30   31  /* IntelVersion: 1.146.2.2 v3_3_14_3_BHSW1 */
  31   32  
  32   33  /*
  33   34   * 82575EB Gigabit Network Connection
  34   35   * 82575EB Gigabit Backplane Connection
  35   36   * 82575GB Gigabit Network Connection
  36   37   * 82576 Gigabit Network Connection
  37   38   * 82576 Quad Port Gigabit Mezzanine Adapter
↓ open down ↓ 262 lines elided ↑ open up ↑
 300  301          /* Set uta register count */
 301  302          mac->uta_reg_count = (hw->mac.type == e1000_82575) ? 0 : 128;
 302  303          /* Set rar entry count */
 303  304          mac->rar_entry_count = E1000_RAR_ENTRIES_82575;
 304  305          if (mac->type == e1000_82576)
 305  306                  mac->rar_entry_count = E1000_RAR_ENTRIES_82576;
 306  307          if (mac->type == e1000_82580)
 307  308                  mac->rar_entry_count = E1000_RAR_ENTRIES_82580;
 308  309          if (mac->type == e1000_i350) {
 309  310                  mac->rar_entry_count = E1000_RAR_ENTRIES_I350;
 310      -                /* Enable EEE default settings for i350 */
 311      -                dev_spec->eee_disable = B_FALSE;
      311 +                /* Disable EEE default settings for i350 */
      312 +                dev_spec->eee_disable = B_TRUE;
 312  313          }
 313  314          /* Set if part includes ASF firmware */
 314  315          mac->asf_firmware_present = true;
 315  316          /* Set if manageability features are enabled. */
 316  317          mac->arc_subsystem_valid =
 317  318              (E1000_READ_REG(hw, E1000_FWSM) & E1000_FWSM_MODE_MASK)
 318  319              ? true : false;
 319  320  
 320  321          /* Function pointers */
 321  322  
↓ open down ↓ 1823 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX