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


  90         nodev,                          /* reset */
  91         &fp_cb_ops,                 /* cb_ops */
  92         NULL,                           /* bus_ops */
  93         fp_power,                       /* power */
  94         ddi_quiesce_not_needed          /* quiesce */
  95 };
  96 
  97 #define FP_VERSION              "20091123-1.101"
  98 #define FP_NAME_VERSION         "SunFC Port v" FP_VERSION
  99 
 100 char *fp_version = FP_NAME_VERSION;
 101 
 102 static struct modldrv modldrv = {
 103         &mod_driverops,                     /* Type of Module */
 104         FP_NAME_VERSION,                /* Name/Version of fp */
 105         &fp_ops                             /* driver ops */
 106 };
 107 
 108 static struct modlinkage modlinkage = {
 109         MODREV_1,       /* Rev of the loadable modules system */
 110         &modldrv,   /* NULL terminated list of */
 111         NULL            /* Linkage structures */
 112 };
 113 
 114 
 115 
 116 static uint16_t ns_reg_cmds[] = {
 117         NS_RPN_ID,
 118         NS_RNN_ID,
 119         NS_RCS_ID,
 120         NS_RFT_ID,
 121         NS_RPT_ID,
 122         NS_RSPN_ID,
 123         NS_RSNN_NN
 124 };
 125 
 126 struct fp_xlat {
 127         uchar_t xlat_state;
 128         int     xlat_rval;
 129 } fp_xlat [] = {
 130         { FC_PKT_SUCCESS,       FC_SUCCESS },
 131         { FC_PKT_REMOTE_STOP,   FC_FAILURE },




  90         nodev,                          /* reset */
  91         &fp_cb_ops,                 /* cb_ops */
  92         NULL,                           /* bus_ops */
  93         fp_power,                       /* power */
  94         ddi_quiesce_not_needed          /* quiesce */
  95 };
  96 
  97 #define FP_VERSION              "20091123-1.101"
  98 #define FP_NAME_VERSION         "SunFC Port v" FP_VERSION
  99 
 100 char *fp_version = FP_NAME_VERSION;
 101 
 102 static struct modldrv modldrv = {
 103         &mod_driverops,                     /* Type of Module */
 104         FP_NAME_VERSION,                /* Name/Version of fp */
 105         &fp_ops                             /* driver ops */
 106 };
 107 
 108 static struct modlinkage modlinkage = {
 109         MODREV_1,               /* Rev of the loadable modules system */
 110         { &modldrv, NULL }  /* NULL terminated list of */

 111 };
 112 
 113 
 114 
 115 static uint16_t ns_reg_cmds[] = {
 116         NS_RPN_ID,
 117         NS_RNN_ID,
 118         NS_RCS_ID,
 119         NS_RFT_ID,
 120         NS_RPT_ID,
 121         NS_RSPN_ID,
 122         NS_RSNN_NN
 123 };
 124 
 125 struct fp_xlat {
 126         uchar_t xlat_state;
 127         int     xlat_rval;
 128 } fp_xlat [] = {
 129         { FC_PKT_SUCCESS,       FC_SUCCESS },
 130         { FC_PKT_REMOTE_STOP,   FC_FAILURE },