Print this page
2038 Add in I350 and ET2 support into igb
Reviewed by: Dan McDonald <danmcd@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/igb/igb_82575.h
          +++ new/usr/src/uts/common/io/igb/igb_82575.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23      - * Copyright(c) 2007-2010 Intel Corporation. All rights reserved.
       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   28   */
  29   29  
  30   30  /* IntelVersion: 1.88.2.1 v3_3_14_3_BHSW1 */
  31   31  
  32   32  #ifndef _IGB_82575_H
  33   33  #define _IGB_82575_H
↓ open down ↓ 13 lines elided ↑ open up ↑
  47   47   * Registers) holds the directed and multicast addresses that we monitor.
  48   48   * These entries are also used for MAC-based filtering.
  49   49   */
  50   50  /*
  51   51   * For 82576, there are an additional set of RARs that begin at an offset
  52   52   * separate from the first set of RARs.
  53   53   */
  54   54  #define E1000_RAR_ENTRIES_82575         16
  55   55  #define E1000_RAR_ENTRIES_82576         24
  56   56  #define E1000_RAR_ENTRIES_82580         24
       57 +#define E1000_RAR_ENTRIES_I350          32
  57   58  #define E1000_SW_SYNCH_MB               0x00000100
  58   59  #define E1000_STAT_DEV_RST_SET          0x00100000
  59   60  #define E1000_CTRL_DEV_RST              0x20000000
  60   61  
  61   62  #ifdef E1000_BIT_FIELDS
  62   63  struct e1000_adv_data_desc {
  63   64          __le64 buffer_addr;     /* Address of the descriptor's data buffer */
  64   65          union {
  65   66                  u32 data;
  66   67                  struct {
↓ open down ↓ 392 lines elided ↑ open up ↑
 459  460  #define E1000_DTXCTL_MDP_EN     0x0020
 460  461  #define E1000_DTXCTL_SPOOF_INT  0x0040
 461  462  
 462  463  #define ALL_QUEUES              0xFFFF
 463  464  
 464  465  /* RX packet buffer size defines */
 465  466  #define E1000_RXPBS_SIZE_MASK_82576     0x0000007F
 466  467  void e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable);
 467  468  void e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable);
 468  469  u16 e1000_rxpbs_adjust_82580(u32 data);
      470 +s32 e1000_set_eee_i350(struct e1000_hw *hw);
 469  471  
 470  472  #ifdef __cplusplus
 471  473  }
 472  474  #endif
 473  475  
 474  476  #endif  /* _IGB_82575_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX