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


 137         nulldev,                /* devo_probe */
 138         audio1575_ddi_attach,   /* devo_attach */
 139         audio1575_ddi_detach,   /* devo_detach */
 140         nodev,                  /* devo_reset */
 141         NULL,                   /* devi_cb_ops */
 142         NULL,                   /* devo_bus_ops */
 143         NULL,                   /* devo_power */
 144         audio1575_ddi_quiesce,  /* devo_quiesce */
 145 };
 146 
 147 /* Linkage structure for loadable drivers */
 148 static struct modldrv audio1575_modldrv = {
 149         &mod_driverops,             /* drv_modops */
 150         M1575_MOD_NAME,         /* drv_linkinfo */
 151         &audio1575_dev_ops, /* drv_dev_ops */
 152 };
 153 
 154 /* Module linkage structure */
 155 static struct modlinkage audio1575_modlinkage = {
 156         MODREV_1,                       /* ml_rev */
 157         (void *)&audio1575_modldrv, /* ml_linkage */
 158         NULL                            /* NULL terminates the list */
 159 };
 160 
 161 
 162 /*
 163  * device access attributes for register mapping
 164  */
 165 static struct ddi_device_acc_attr dev_attr = {
 166         DDI_DEVICE_ATTR_V0,
 167         DDI_STRUCTURE_LE_ACC,
 168         DDI_STRICTORDER_ACC
 169 };
 170 
 171 static struct ddi_device_acc_attr buf_attr = {
 172         DDI_DEVICE_ATTR_V0,
 173         DDI_NEVERSWAP_ACC,
 174         DDI_STRICTORDER_ACC
 175 };
 176 
 177 /*
 178  * DMA attributes of buffer descriptor list




 137         nulldev,                /* devo_probe */
 138         audio1575_ddi_attach,   /* devo_attach */
 139         audio1575_ddi_detach,   /* devo_detach */
 140         nodev,                  /* devo_reset */
 141         NULL,                   /* devi_cb_ops */
 142         NULL,                   /* devo_bus_ops */
 143         NULL,                   /* devo_power */
 144         audio1575_ddi_quiesce,  /* devo_quiesce */
 145 };
 146 
 147 /* Linkage structure for loadable drivers */
 148 static struct modldrv audio1575_modldrv = {
 149         &mod_driverops,             /* drv_modops */
 150         M1575_MOD_NAME,         /* drv_linkinfo */
 151         &audio1575_dev_ops, /* drv_dev_ops */
 152 };
 153 
 154 /* Module linkage structure */
 155 static struct modlinkage audio1575_modlinkage = {
 156         MODREV_1,                               /* ml_rev */
 157         { (void *)&audio1575_modldrv, NULL }        /* ml_linkage */

 158 };
 159 
 160 
 161 /*
 162  * device access attributes for register mapping
 163  */
 164 static struct ddi_device_acc_attr dev_attr = {
 165         DDI_DEVICE_ATTR_V0,
 166         DDI_STRUCTURE_LE_ACC,
 167         DDI_STRICTORDER_ACC
 168 };
 169 
 170 static struct ddi_device_acc_attr buf_attr = {
 171         DDI_DEVICE_ATTR_V0,
 172         DDI_NEVERSWAP_ACC,
 173         DDI_STRICTORDER_ACC
 174 };
 175 
 176 /*
 177  * DMA attributes of buffer descriptor list