123 0, /* devo_refcnt */
124 NULL, /* devo_getinfo */
125 nulldev, /* devo_identify */
126 nulldev, /* devo_probe */
127 amd8111s_attach, /* devo_attach */
128 amd8111s_detach, /* devo_detach */
129 nodev, /* devo_reset */
130 &amd8111s_cb_ops, /* devo_cb_ops */
131 NULL, /* devo_bus_ops */
132 nodev, /* devo_power */
133 ddi_quiesce_not_supported, /* devo_quiesce */
134 };
135
136 struct modldrv amd8111s_modldrv = {
137 &mod_driverops, /* Type of module. This one is a driver */
138 ident, /* short description */
139 &amd8111s_dev_ops /* driver specific ops */
140 };
141
142 struct modlinkage amd8111s_modlinkage = {
143 MODREV_1, (void *)&amd8111s_modldrv, NULL
144 };
145
146 /*
147 * Global Variables
148 */
149 struct LayerPointers *amd8111sadapter;
150
151 static ddi_dma_attr_t pcn_buff_dma_attr_t = {
152 DMA_ATTR_V0, /* dma_attr_version */
153 (uint64_t)0, /* dma_attr_addr_lo */
154 (uint64_t)0xFFFFFFFF, /* dma_attr_addr_hi */
155 (uint64_t)0xFFFFFFFF, /* dma_attr_count_max */
156 (uint64_t)1, /* dma_attr_align */
157 (uint_t)0x7F, /* dma_attr_burstsizes */
158 (uint32_t)1, /* dma_attr_minxfer */
159 (uint64_t)0xFFFFFFFF, /* dma_attr_maxxfer */
160 (uint64_t)0xFFFFFFFF, /* dma_attr_seg */
161 (int)1, /* dma_attr_sgllen */
162 (uint32_t)1, /* granularity */
163 (uint_t)0 /* dma_attr_flags */
|
123 0, /* devo_refcnt */
124 NULL, /* devo_getinfo */
125 nulldev, /* devo_identify */
126 nulldev, /* devo_probe */
127 amd8111s_attach, /* devo_attach */
128 amd8111s_detach, /* devo_detach */
129 nodev, /* devo_reset */
130 &amd8111s_cb_ops, /* devo_cb_ops */
131 NULL, /* devo_bus_ops */
132 nodev, /* devo_power */
133 ddi_quiesce_not_supported, /* devo_quiesce */
134 };
135
136 struct modldrv amd8111s_modldrv = {
137 &mod_driverops, /* Type of module. This one is a driver */
138 ident, /* short description */
139 &amd8111s_dev_ops /* driver specific ops */
140 };
141
142 struct modlinkage amd8111s_modlinkage = {
143 MODREV_1, { (void *)&amd8111s_modldrv, NULL }
144 };
145
146 /*
147 * Global Variables
148 */
149 struct LayerPointers *amd8111sadapter;
150
151 static ddi_dma_attr_t pcn_buff_dma_attr_t = {
152 DMA_ATTR_V0, /* dma_attr_version */
153 (uint64_t)0, /* dma_attr_addr_lo */
154 (uint64_t)0xFFFFFFFF, /* dma_attr_addr_hi */
155 (uint64_t)0xFFFFFFFF, /* dma_attr_count_max */
156 (uint64_t)1, /* dma_attr_align */
157 (uint_t)0x7F, /* dma_attr_burstsizes */
158 (uint32_t)1, /* dma_attr_minxfer */
159 (uint64_t)0xFFFFFFFF, /* dma_attr_maxxfer */
160 (uint64_t)0xFFFFFFFF, /* dma_attr_seg */
161 (int)1, /* dma_attr_sgllen */
162 (uint32_t)1, /* granularity */
163 (uint_t)0 /* dma_attr_flags */
|