Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4rx.c
          +++ new/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4rx.c
↓ open down ↓ 170 lines elided ↑ open up ↑
 171  171      }
 172  172      gen_info->current_isle = new_current_isle;
 173  173      gen_info->current_isle_number = new_current_isle_num;
 174  174      return nbytes;
 175  175  }
 176  176  
 177  177  u32_t lm_tcp_rx_peninsula_to_rq(lm_device_t * pdev, lm_tcp_state_t * tcp, u32_t max_num_bytes_to_copy, u8_t sb_idx);
 178  178  
 179  179  /* TODO: remove this temporary solution for solaris / linux compilation conflict, linux needs the
 180  180   * first option, solaris the latter */
 181      -#if defined(__LINUX)
      181 +#if defined(__LINUX) || defined(__LITTLE_ENDIAN)
 182  182  #define TOE_RX_INIT_ZERO {{0}}
 183  183  #else
 184  184  #define TOE_RX_INIT_ZERO {0}
 185  185  #endif
 186  186  
 187  187  #define TOE_RX_DOORBELL(pdev,cid) do{\
 188  188      struct doorbell db = TOE_RX_INIT_ZERO;\
 189  189      db.header.data |= ((TOE_CONNECTION_TYPE << DOORBELL_HDR_T_CONN_TYPE_SHIFT) |\
 190  190                      (DOORBELL_HDR_T_RX << DOORBELL_HDR_T_RX_SHIFT));\
 191  191      DOORBELL((pdev), (cid), *((u32_t *)&db));\
↓ open down ↓ 2426 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX