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


 162         nulldev,                /* devo_probe */
 163         audio810_ddi_attach,    /* devo_attach */
 164         audio810_ddi_detach,    /* devo_detach */
 165         nodev,                  /* devo_reset */
 166         NULL,                   /* devi_cb_ops */
 167         NULL,                   /* devo_bus_ops */
 168         NULL,                   /* devo_power */
 169         audio810_ddi_quiesce,   /* devo_quiesce */
 170 };
 171 
 172 /* Linkage structure for loadable drivers */
 173 static struct modldrv audio810_modldrv = {
 174         &mod_driverops,             /* drv_modops */
 175         I810_MOD_NAME,          /* drv_linkinfo */
 176         &audio810_dev_ops,  /* drv_dev_ops */
 177 };
 178 
 179 /* Module linkage structure */
 180 static struct modlinkage audio810_modlinkage = {
 181         MODREV_1,                       /* ml_rev */
 182         (void *)&audio810_modldrv,  /* ml_linkage */
 183         NULL                            /* NULL terminates the list */
 184 };
 185 
 186 /*
 187  * device access attributes for register mapping
 188  */
 189 static struct ddi_device_acc_attr dev_attr = {
 190         DDI_DEVICE_ATTR_V0,
 191         DDI_STRUCTURE_LE_ACC,
 192         DDI_STRICTORDER_ACC
 193 };
 194 
 195 static struct ddi_device_acc_attr buf_attr = {
 196         DDI_DEVICE_ATTR_V0,
 197         DDI_STRUCTURE_LE_ACC,
 198         DDI_STRICTORDER_ACC
 199 };
 200 
 201 /*
 202  * DMA attributes of buffer descriptor list
 203  */




 162         nulldev,                /* devo_probe */
 163         audio810_ddi_attach,    /* devo_attach */
 164         audio810_ddi_detach,    /* devo_detach */
 165         nodev,                  /* devo_reset */
 166         NULL,                   /* devi_cb_ops */
 167         NULL,                   /* devo_bus_ops */
 168         NULL,                   /* devo_power */
 169         audio810_ddi_quiesce,   /* devo_quiesce */
 170 };
 171 
 172 /* Linkage structure for loadable drivers */
 173 static struct modldrv audio810_modldrv = {
 174         &mod_driverops,             /* drv_modops */
 175         I810_MOD_NAME,          /* drv_linkinfo */
 176         &audio810_dev_ops,  /* drv_dev_ops */
 177 };
 178 
 179 /* Module linkage structure */
 180 static struct modlinkage audio810_modlinkage = {
 181         MODREV_1,                               /* ml_rev */
 182         { (void *)&audio810_modldrv, NULL } /* ml_linkage */

 183 };
 184 
 185 /*
 186  * device access attributes for register mapping
 187  */
 188 static struct ddi_device_acc_attr dev_attr = {
 189         DDI_DEVICE_ATTR_V0,
 190         DDI_STRUCTURE_LE_ACC,
 191         DDI_STRICTORDER_ACC
 192 };
 193 
 194 static struct ddi_device_acc_attr buf_attr = {
 195         DDI_DEVICE_ATTR_V0,
 196         DDI_STRUCTURE_LE_ACC,
 197         DDI_STRICTORDER_ACC
 198 };
 199 
 200 /*
 201  * DMA attributes of buffer descriptor list
 202  */