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


 209         nulldev,                /* devo_probe */
 210         audiots_attach,         /* devo_attach */
 211         audiots_detach,         /* devo_detach */
 212         nodev,                  /* devo_reset */
 213         NULL,                   /* devo_cb_ops */
 214         NULL,                   /* devo_bus_ops */
 215         NULL,                   /* devo_power */
 216         audiots_quiesce,        /* devo_quiesce */
 217 };
 218 
 219 /* Linkage structure for loadable drivers */
 220 static struct modldrv audiots_modldrv = {
 221         &mod_driverops,             /* drv_modops */
 222         TS_MOD_NAME,            /* drv_linkinfo */
 223         &audiots_dev_ops    /* drv_dev_ops */
 224 };
 225 
 226 /* Module linkage structure */
 227 static struct modlinkage audiots_modlinkage = {
 228         MODREV_1,                       /* ml_rev */
 229         (void *)&audiots_modldrv,   /* ml_linkage */
 230         NULL                            /* NULL terminates the list */
 231 };
 232 
 233 
 234 /*
 235  * NOTE: Grover OBP v4.0.166 and rev G of the ALI Southbridge chip force the
 236  * audiots driver to use the upper 2 GB DMA address range. However to maintain
 237  * backwards compatibility with older systems/OBP, we're going to try the full
 238  * 4 GB DMA range.
 239  *
 240  * Eventually, this will be set back to using the proper high 2 GB DMA range.
 241  */
 242 
 243 /* Device attribute structure - full 4 gig address range */
 244 static ddi_dma_attr_t audiots_attr = {
 245         DMA_ATTR_VERSION,               /* version */
 246         0x0000000000000000LL,           /* dlim_addr_lo */
 247         0x00000000ffffffffLL,           /* dlim_addr_hi */
 248         0x0000000000003fffLL,           /* DMA counter register - 16 bits */
 249         0x0000000000000008LL,           /* DMA address alignment, 64-bit */
 250         0x0000007f,                     /* 1 through 64 byte burst sizes */




 209         nulldev,                /* devo_probe */
 210         audiots_attach,         /* devo_attach */
 211         audiots_detach,         /* devo_detach */
 212         nodev,                  /* devo_reset */
 213         NULL,                   /* devo_cb_ops */
 214         NULL,                   /* devo_bus_ops */
 215         NULL,                   /* devo_power */
 216         audiots_quiesce,        /* devo_quiesce */
 217 };
 218 
 219 /* Linkage structure for loadable drivers */
 220 static struct modldrv audiots_modldrv = {
 221         &mod_driverops,             /* drv_modops */
 222         TS_MOD_NAME,            /* drv_linkinfo */
 223         &audiots_dev_ops    /* drv_dev_ops */
 224 };
 225 
 226 /* Module linkage structure */
 227 static struct modlinkage audiots_modlinkage = {
 228         MODREV_1,                               /* ml_rev */
 229         { (void *)&audiots_modldrv, NULL }  /* ml_linkage */

 230 };
 231 
 232 
 233 /*
 234  * NOTE: Grover OBP v4.0.166 and rev G of the ALI Southbridge chip force the
 235  * audiots driver to use the upper 2 GB DMA address range. However to maintain
 236  * backwards compatibility with older systems/OBP, we're going to try the full
 237  * 4 GB DMA range.
 238  *
 239  * Eventually, this will be set back to using the proper high 2 GB DMA range.
 240  */
 241 
 242 /* Device attribute structure - full 4 gig address range */
 243 static ddi_dma_attr_t audiots_attr = {
 244         DMA_ATTR_VERSION,               /* version */
 245         0x0000000000000000LL,           /* dlim_addr_lo */
 246         0x00000000ffffffffLL,           /* dlim_addr_hi */
 247         0x0000000000003fffLL,           /* DMA counter register - 16 bits */
 248         0x0000000000000008LL,           /* DMA address alignment, 64-bit */
 249         0x0000007f,                     /* 1 through 64 byte burst sizes */