140 nulldev, /* devo_probe */
141 audioixp_ddi_attach, /* devo_attach */
142 audioixp_ddi_detach, /* devo_detach */
143 nodev, /* devo_reset */
144 NULL, /* devi_cb_ops */
145 NULL, /* devo_bus_ops */
146 NULL, /* devo_power */
147 audioixp_quiesce, /* devo_quiesce */
148 };
149
150 /* Linkage structure for loadable drivers */
151 static struct modldrv audioixp_modldrv = {
152 &mod_driverops, /* drv_modops */
153 IXP_MOD_NAME, /* drv_linkinfo */
154 &audioixp_dev_ops, /* drv_dev_ops */
155 };
156
157 /* Module linkage structure */
158 static struct modlinkage audioixp_modlinkage = {
159 MODREV_1, /* ml_rev */
160 (void *)&audioixp_modldrv, /* ml_linkage */
161 NULL /* NULL terminates the list */
162 };
163
164 /*
165 * device access attributes for register mapping
166 */
167 static struct ddi_device_acc_attr dev_attr = {
168 DDI_DEVICE_ATTR_V0,
169 DDI_STRUCTURE_LE_ACC,
170 DDI_STRICTORDER_ACC
171 };
172 static struct ddi_device_acc_attr buf_attr = {
173 DDI_DEVICE_ATTR_V0,
174 DDI_NEVERSWAP_ACC,
175 DDI_STRICTORDER_ACC
176 };
177
178 /*
179 * DMA attributes of buffer descriptor list
180 */
181 static ddi_dma_attr_t bdlist_dma_attr = {
|
140 nulldev, /* devo_probe */
141 audioixp_ddi_attach, /* devo_attach */
142 audioixp_ddi_detach, /* devo_detach */
143 nodev, /* devo_reset */
144 NULL, /* devi_cb_ops */
145 NULL, /* devo_bus_ops */
146 NULL, /* devo_power */
147 audioixp_quiesce, /* devo_quiesce */
148 };
149
150 /* Linkage structure for loadable drivers */
151 static struct modldrv audioixp_modldrv = {
152 &mod_driverops, /* drv_modops */
153 IXP_MOD_NAME, /* drv_linkinfo */
154 &audioixp_dev_ops, /* drv_dev_ops */
155 };
156
157 /* Module linkage structure */
158 static struct modlinkage audioixp_modlinkage = {
159 MODREV_1, /* ml_rev */
160 { (void *)&audioixp_modldrv, NULL } /* ml_linkage */
161 };
162
163 /*
164 * device access attributes for register mapping
165 */
166 static struct ddi_device_acc_attr dev_attr = {
167 DDI_DEVICE_ATTR_V0,
168 DDI_STRUCTURE_LE_ACC,
169 DDI_STRICTORDER_ACC
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
179 */
180 static ddi_dma_attr_t bdlist_dma_attr = {
|