Print this page
4431 igb support for I354
4616 igb has uninitialized kstats

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/e1000api/e1000_i210.h
          +++ new/usr/src/uts/common/io/e1000api/e1000_i210.h
↓ open down ↓ 41 lines elided ↑ open up ↑
  42   42  s32 e1000_update_flash_i210(struct e1000_hw *hw);
  43   43  s32 e1000_update_nvm_checksum_i210(struct e1000_hw *hw);
  44   44  s32 e1000_validate_nvm_checksum_i210(struct e1000_hw *hw);
  45   45  s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset,
  46   46                                u16 words, u16 *data);
  47   47  s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset,
  48   48                               u16 words, u16 *data);
  49   49  s32 e1000_read_invm_i211(struct e1000_hw *hw, u8 address, u16 *data);
  50   50  s32 e1000_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask);
  51   51  void e1000_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask);
       52 +s32 e1000_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,
       53 +                         u16 *data);
       54 +s32 e1000_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,
       55 +                          u16 data);
  52   56  
  53   57  #define E1000_STM_OPCODE                0xDB00
  54   58  #define E1000_EEPROM_FLASH_SIZE_WORD    0x11
  55   59  
  56   60  #define INVM_DWORD_TO_RECORD_TYPE(invm_dword) \
  57   61          (u8)((invm_dword) & 0x7)
  58   62  #define INVM_DWORD_TO_WORD_ADDRESS(invm_dword) \
  59   63          (u8)(((invm_dword) & 0x0000FE00) >> 9)
  60   64  #define INVM_DWORD_TO_WORD_DATA(invm_dword) \
  61   65          (u16)(((invm_dword) & 0xFFFF0000) >> 16)
↓ open down ↓ 40 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX