191 iscsi_getinfo, /* getinfo */
192 nulldev, /* identify */
193 nulldev, /* probe */
194 iscsi_attach, /* attach */
195 iscsi_detach, /* detach */
196 nodev, /* reset */
197 &iscsi_cb_ops, /* driver operations */
198 NULL, /* bus ops */
199 NULL, /* power management */
200 ddi_quiesce_not_needed, /* quiesce */
201 };
202
203 static struct modldrv modldrv = {
204 &mod_driverops, /* drv_modops */
205 ISCSI_NAME_VERSION, /* drv_linkinfo */
206 &iscsi_dev_ops /* drv_dev_ops */
207 };
208
209 static struct modlinkage modlinkage = {
210 MODREV_1, /* ml_rev */
211 &modldrv, /* ml_linkage[] */
212 NULL /* NULL termination */
213 };
214
215 /*
216 * This structure is bogus. scsi_hba_attach_setup() requires, as in the kernel
217 * will panic if you don't pass this in to the routine, this information.
218 * Need to determine what the actual impact to the system is by providing
219 * this information if any. Since dma allocation is done in pkt_init it may
220 * not have any impact. These values are straight from the Writing Device
221 * Driver manual.
222 */
223 static ddi_dma_attr_t iscsi_dma_attr = {
224 DMA_ATTR_V0, /* ddi_dma_attr version */
225 0, /* low address */
226 0xffffffff, /* high address */
227 0x00ffffff, /* counter upper bound */
228 1, /* alignment requirements */
229 0x3f, /* burst sizes */
230 1, /* minimum DMA access */
231 0xffffffff, /* maximum DMA access */
232 (1 << 24) - 1, /* segment boundary restrictions */
|
191 iscsi_getinfo, /* getinfo */
192 nulldev, /* identify */
193 nulldev, /* probe */
194 iscsi_attach, /* attach */
195 iscsi_detach, /* detach */
196 nodev, /* reset */
197 &iscsi_cb_ops, /* driver operations */
198 NULL, /* bus ops */
199 NULL, /* power management */
200 ddi_quiesce_not_needed, /* quiesce */
201 };
202
203 static struct modldrv modldrv = {
204 &mod_driverops, /* drv_modops */
205 ISCSI_NAME_VERSION, /* drv_linkinfo */
206 &iscsi_dev_ops /* drv_dev_ops */
207 };
208
209 static struct modlinkage modlinkage = {
210 MODREV_1, /* ml_rev */
211 { &modldrv, NULL } /* ml_linkage[] */
212 };
213
214 /*
215 * This structure is bogus. scsi_hba_attach_setup() requires, as in the kernel
216 * will panic if you don't pass this in to the routine, this information.
217 * Need to determine what the actual impact to the system is by providing
218 * this information if any. Since dma allocation is done in pkt_init it may
219 * not have any impact. These values are straight from the Writing Device
220 * Driver manual.
221 */
222 static ddi_dma_attr_t iscsi_dma_attr = {
223 DMA_ATTR_V0, /* ddi_dma_attr version */
224 0, /* low address */
225 0xffffffff, /* high address */
226 0x00ffffff, /* counter upper bound */
227 1, /* alignment requirements */
228 0x3f, /* burst sizes */
229 1, /* minimum DMA access */
230 0xffffffff, /* maximum DMA access */
231 (1 << 24) - 1, /* segment boundary restrictions */
|