419 ddi_prop_op, /* cb_prop_op */
420 0, /* streamtab */
421 D_NEW | D_MP, /* cb_flag */
422 CB_REV, /* rev */
423 nodev, /* aread */
424 nodev /* awrite */
425 };
426
427
428 extern struct mod_ops mod_miscops;
429 extern uchar_t scsi_cdb_size[];
430
431 static struct modlmisc modlmisc = {
432 &mod_miscops, /* Type of module */
433 "SATA Module" /* module name */
434 };
435
436
437 static struct modlinkage modlinkage = {
438 MODREV_1,
439 (void *)&modlmisc,
440 NULL
441 };
442
443 /*
444 * Default sata pkt timeout. Used when a target driver scsi_pkt time is zero,
445 * i.e. when scsi_pkt has not timeout specified.
446 */
447 static int sata_default_pkt_time = 60; /* 60 seconds */
448
449 /*
450 * Intermediate buffer device access attributes - they are required,
451 * but not necessarily used.
452 */
453 static ddi_device_acc_attr_t sata_acc_attr = {
454 DDI_DEVICE_ATTR_V0,
455 DDI_STRUCTURE_LE_ACC,
456 DDI_STRICTORDER_ACC
457 };
458
459
460 /*
|
419 ddi_prop_op, /* cb_prop_op */
420 0, /* streamtab */
421 D_NEW | D_MP, /* cb_flag */
422 CB_REV, /* rev */
423 nodev, /* aread */
424 nodev /* awrite */
425 };
426
427
428 extern struct mod_ops mod_miscops;
429 extern uchar_t scsi_cdb_size[];
430
431 static struct modlmisc modlmisc = {
432 &mod_miscops, /* Type of module */
433 "SATA Module" /* module name */
434 };
435
436
437 static struct modlinkage modlinkage = {
438 MODREV_1,
439 { (void *)&modlmisc, NULL }
440 };
441
442 /*
443 * Default sata pkt timeout. Used when a target driver scsi_pkt time is zero,
444 * i.e. when scsi_pkt has not timeout specified.
445 */
446 static int sata_default_pkt_time = 60; /* 60 seconds */
447
448 /*
449 * Intermediate buffer device access attributes - they are required,
450 * but not necessarily used.
451 */
452 static ddi_device_acc_attr_t sata_acc_attr = {
453 DDI_DEVICE_ATTR_V0,
454 DDI_STRUCTURE_LE_ACC,
455 DDI_STRICTORDER_ACC
456 };
457
458
459 /*
|