Print this page
3014 Intel X540 Support (fix lint)

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ixgbe/ixgbe_common.h
          +++ new/usr/src/uts/common/io/ixgbe/ixgbe_common.h
↓ open down ↓ 28 lines elided ↑ open up ↑
  29   29    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  30   30    POSSIBILITY OF SUCH DAMAGE.
  31   31  
  32   32  ******************************************************************************/
  33   33  /*$FreeBSD: src/sys/dev/ixgbe/ixgbe_common.h,v 1.12 2012/07/05 20:51:44 jfv Exp $*/
  34   34  
  35   35  #ifndef _IXGBE_COMMON_H_
  36   36  #define _IXGBE_COMMON_H_
  37   37  
  38   38  #include "ixgbe_type.h"
       39 +#if lint
       40 +/* Use "hw" somehow... */
       41 +#define IXGBE_WRITE_REG64(hw, reg, value) hw = hw
       42 +#else
  39   43  #define IXGBE_WRITE_REG64(hw, reg, value) \
  40   44          do { \
  41   45                  IXGBE_WRITE_REG(hw, reg, (u32) value); \
  42   46                  IXGBE_WRITE_REG(hw, reg + 4, (u32) (value >> 32)); \
  43   47          } while (0)
       48 +#endif
  44   49  
  45   50  u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
  46   51  
  47   52  s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw);
  48   53  s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw);
  49   54  s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw);
  50   55  s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw);
  51   56  s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw);
  52   57  s32 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num);
  53   58  s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num,
↓ open down ↓ 88 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX