Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
          +++ new/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
↓ open down ↓ 255 lines elided ↑ open up ↑
 256  256          &emlxs_dma_attr,                /* fca dma attributes */
 257  257          &emlxs_dma_attr_1sg,            /* fca dma fcp cmd attributes */
 258  258          &emlxs_dma_attr_1sg,            /* fca dma fcp rsp attributes */
 259  259          &emlxs_dma_attr_ro,             /* fca dma fcp data attributes */
 260  260          &emlxs_dma_attr_1sg,            /* fca dma fcip cmd attributes */
 261  261          &emlxs_dma_attr_fcip_rsp,       /* fca dma fcip rsp attributes */
 262  262          &emlxs_dma_attr_1sg,            /* fca dma fcsm cmd attributes */
 263  263          &emlxs_dma_attr,                /* fca dma fcsm rsp attributes */
 264  264          &emlxs_data_acc_attr,           /* fca access atributes */
 265  265          0,                              /* fca_num_npivports */
 266      -        {0, 0, 0, 0, 0, 0, 0, 0},       /* Physical port WWPN */
      266 +        {{0, 0, 0, 0, 0, 0, 0, 0}},     /* Physical port WWPN */
 267  267          emlxs_fca_bind_port,
 268  268          emlxs_fca_unbind_port,
 269  269          emlxs_fca_pkt_init,
 270  270          emlxs_fca_pkt_uninit,
 271  271          emlxs_fca_transport,
 272  272          emlxs_fca_get_cap,
 273  273          emlxs_fca_set_cap,
 274  274          emlxs_fca_get_map,
 275  275          emlxs_fca_transport,
 276  276          emlxs_fca_ub_alloc,
↓ open down ↓ 197 lines elided ↑ open up ↑
 474  474          &mod_driverops, /* module type - driver */
 475  475          emlxs_name,     /* module name */
 476  476          &emlxs_ops,     /* driver ops */
 477  477  };
 478  478  
 479  479  
 480  480  /*
 481  481   * Driver module linkage structure
 482  482   */
 483  483  static struct modlinkage emlxs_modlinkage = {
 484      -        MODREV_1,       /* ml_rev - must be MODREV_1 */
 485      -        &emlxs_modldrv, /* ml_linkage */
 486      -        NULL    /* end of driver linkage */
      484 +        MODREV_1,                       /* ml_rev - must be MODREV_1 */
      485 +        {   &emlxs_modldrv,             /* ml_linkage */
      486 +            NULL }
 487  487  };
 488  488  
 489  489  
 490  490  /* We only need to add entries for non-default return codes. */
 491  491  /* Entries do not need to be in order. */
 492  492  /* Default:     FC_PKT_TRAN_ERROR,      FC_REASON_ABORTED, */
 493  493  /*              FC_EXPLN_NONE,          FC_ACTION_RETRYABLE */
 494  494  
 495  495  emlxs_xlat_err_t emlxs_iostat_tbl[] = {
 496  496  /*      {f/w code, pkt_state, pkt_reason,       */
↓ open down ↓ 11915 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX