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


 137         DEVO_REV,               /* devo_rev, */
 138         0,                      /* refcnt */
 139         ddi_no_info,            /* info */
 140         nulldev,                /* identify */
 141         nulldev,                /* probe */
 142         pmcs_attach,            /* attach */
 143         pmcs_detach,            /* detach */
 144         nodev,                  /* reset */
 145         NULL,                   /* driver operations */
 146         NULL,                   /* bus operations */
 147         ddi_power,              /* power management */
 148         pmcs_quiesce            /* quiesce */
 149 };
 150 
 151 static struct modldrv modldrv = {
 152         &mod_driverops,
 153         PMCS_DRIVER_VERSION,
 154         &pmcs_ops,  /* driver ops */
 155 };
 156 static struct modlinkage modlinkage = {
 157         MODREV_1, &modldrv, NULL
 158 };
 159 
 160 const ddi_dma_attr_t pmcs_dattr = {
 161         DMA_ATTR_V0,                    /* dma_attr version     */
 162         0x0000000000000000ull,          /* dma_attr_addr_lo     */
 163         0xFFFFFFFFFFFFFFFFull,          /* dma_attr_addr_hi     */
 164         0x00000000FFFFFFFFull,          /* dma_attr_count_max   */
 165         0x0000000000000001ull,          /* dma_attr_align       */
 166         0x00000078,                     /* dma_attr_burstsizes  */
 167         0x00000001,                     /* dma_attr_minxfer     */
 168         0x00000000FFFFFFFFull,          /* dma_attr_maxxfer     */
 169         0x00000000FFFFFFFFull,          /* dma_attr_seg         */
 170         1,                              /* dma_attr_sgllen      */
 171         512,                            /* dma_attr_granular    */
 172         0                               /* dma_attr_flags       */
 173 };
 174 
 175 static ddi_device_acc_attr_t rattr = {
 176         DDI_DEVICE_ATTR_V1,
 177         DDI_STRUCTURE_LE_ACC,




 137         DEVO_REV,               /* devo_rev, */
 138         0,                      /* refcnt */
 139         ddi_no_info,            /* info */
 140         nulldev,                /* identify */
 141         nulldev,                /* probe */
 142         pmcs_attach,            /* attach */
 143         pmcs_detach,            /* detach */
 144         nodev,                  /* reset */
 145         NULL,                   /* driver operations */
 146         NULL,                   /* bus operations */
 147         ddi_power,              /* power management */
 148         pmcs_quiesce            /* quiesce */
 149 };
 150 
 151 static struct modldrv modldrv = {
 152         &mod_driverops,
 153         PMCS_DRIVER_VERSION,
 154         &pmcs_ops,  /* driver ops */
 155 };
 156 static struct modlinkage modlinkage = {
 157         MODREV_1, { &modldrv, NULL }
 158 };
 159 
 160 const ddi_dma_attr_t pmcs_dattr = {
 161         DMA_ATTR_V0,                    /* dma_attr version     */
 162         0x0000000000000000ull,          /* dma_attr_addr_lo     */
 163         0xFFFFFFFFFFFFFFFFull,          /* dma_attr_addr_hi     */
 164         0x00000000FFFFFFFFull,          /* dma_attr_count_max   */
 165         0x0000000000000001ull,          /* dma_attr_align       */
 166         0x00000078,                     /* dma_attr_burstsizes  */
 167         0x00000001,                     /* dma_attr_minxfer     */
 168         0x00000000FFFFFFFFull,          /* dma_attr_maxxfer     */
 169         0x00000000FFFFFFFFull,          /* dma_attr_seg         */
 170         1,                              /* dma_attr_sgllen      */
 171         512,                            /* dma_attr_granular    */
 172         0                               /* dma_attr_flags       */
 173 };
 174 
 175 static ddi_device_acc_attr_t rattr = {
 176         DDI_DEVICE_ATTR_V1,
 177         DDI_STRUCTURE_LE_ACC,