Print this page
3014 Intel X540 Support (fix lint)

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ixgbe/ixgbe_osdep.h
          +++ new/usr/src/uts/common/io/ixgbe/ixgbe_osdep.h
↓ open down ↓ 103 lines elided ↑ open up ↑
 104  104  #define msec_delay_irq  msec_delay
 105  105  #define IXGBE_HTONL     htonl
 106  106  #define IXGBE_NTOHL     ntohl
 107  107  #define IXGBE_NTOHS     ntohs
 108  108  
 109  109  #ifdef _BIG_ENDIAN
 110  110  #define IXGBE_CPU_TO_LE32       BSWAP_32 
 111  111  #define IXGBE_LE32_TO_CPUS      BSWAP_32
 112  112  #else
 113  113  #define IXGBE_CPU_TO_LE32(x)    (x)
      114 +#if lint
      115 +/* Use lint-happy operation... */
      116 +#define IXGBE_LE32_TO_CPUS(x)
      117 +#else
 114  118  #define IXGBE_LE32_TO_CPUS(x)   (x) 
      119 +#endif /* lint */
 115  120  #endif  /* _BIG_ENDIAN */
 116  121  
 117  122  #define UNREFERENCED_PARAMETER(x)               _NOTE(ARGUNUSED(x))
 118  123  #define UNREFERENCED_1PARAMETER(_p)             UNREFERENCED_PARAMETER(_p)
 119  124  #define UNREFERENCED_2PARAMETER(_p, _q)         _NOTE(ARGUNUSED(_p, _q))
 120  125  #define UNREFERENCED_3PARAMETER(_p, _q, _r)     _NOTE(ARGUNUSED(_p, _q, _r))
 121  126  #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) _NOTE(ARGUNUSED(_p, _q,_r, _s))
 122  127  
 123  128  
 124  129  
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX