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


 134         megasas_getinfo,        /* getinfo */
 135         nulldev,                /* identify */
 136         nulldev,                /* probe */
 137         megasas_attach,         /* attach */
 138         megasas_detach,         /* detach */
 139         megasas_reset,          /* reset */
 140         &megasas_cb_ops,    /* char/block ops */
 141         NULL,                   /* bus ops */
 142         NULL,                   /* power */
 143         ddi_quiesce_not_supported,      /* devo_quiesce */
 144 };
 145 
 146 static struct modldrv modldrv = {
 147         &mod_driverops,             /* module type - driver */
 148         MEGASAS_VERSION,
 149         &megasas_ops,               /* driver ops */
 150 };
 151 
 152 static struct modlinkage modlinkage = {
 153         MODREV_1,       /* ml_rev - must be MODREV_1 */
 154         &modldrv,   /* ml_linkage */
 155         NULL            /* end of driver linkage */
 156 };
 157 
 158 static struct ddi_device_acc_attr endian_attr = {
 159         DDI_DEVICE_ATTR_V1,
 160         DDI_STRUCTURE_LE_ACC,
 161         DDI_STRICTORDER_ACC,
 162         DDI_DEFAULT_ACC
 163 };
 164 
 165 
 166 /*
 167  * ************************************************************************** *
 168  *                                                                            *
 169  *         common entry points - for loadable kernel modules                  *
 170  *                                                                            *
 171  * ************************************************************************** *
 172  */
 173 
 174 /*
 175  * _init - initialize a loadable module




 134         megasas_getinfo,        /* getinfo */
 135         nulldev,                /* identify */
 136         nulldev,                /* probe */
 137         megasas_attach,         /* attach */
 138         megasas_detach,         /* detach */
 139         megasas_reset,          /* reset */
 140         &megasas_cb_ops,    /* char/block ops */
 141         NULL,                   /* bus ops */
 142         NULL,                   /* power */
 143         ddi_quiesce_not_supported,      /* devo_quiesce */
 144 };
 145 
 146 static struct modldrv modldrv = {
 147         &mod_driverops,             /* module type - driver */
 148         MEGASAS_VERSION,
 149         &megasas_ops,               /* driver ops */
 150 };
 151 
 152 static struct modlinkage modlinkage = {
 153         MODREV_1,               /* ml_rev - must be MODREV_1 */
 154         { &modldrv, NULL }  /* ml_linkage */

 155 };
 156 
 157 static struct ddi_device_acc_attr endian_attr = {
 158         DDI_DEVICE_ATTR_V1,
 159         DDI_STRUCTURE_LE_ACC,
 160         DDI_STRICTORDER_ACC,
 161         DDI_DEFAULT_ACC
 162 };
 163 
 164 
 165 /*
 166  * ************************************************************************** *
 167  *                                                                            *
 168  *         common entry points - for loadable kernel modules                  *
 169  *                                                                            *
 170  * ************************************************************************** *
 171  */
 172 
 173 /*
 174  * _init - initialize a loadable module