Lines Matching defs:options
1376 * device in the system in a single place if needed (via options.conf),
1379 * options node.
1415 * The 'device-type-scsi-options' mechanism can be used to establish a device
1418 * array "device-type-scsi-options" definition. A bcmp of the vendor info is
1421 * device-type-scsi-options-list =
1422 * "FOOLCO Special x1000", "foolco-scsi-options",
1423 * "FOOLCO Special y1000", "foolco-scsi-options";
1424 * foolco-scsi-options = 0xXXXXXXXX;
1428 struct scsi_device *devp, int options)
1433 "device-type-scsi-options-list", dip, devp)) != NULL) {
1434 options = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 0,
1435 string, options);
1438 return (options);
1444 * target<%d>-scsi-options highest
1445 * device-type-scsi-options
1446 * per bus scsi-options (parent)
1447 * global scsi-options
1457 int options = -1;
1468 (void) sprintf(topt, "target%d-scsi-options", tgt);
1469 options = ddi_prop_get_int(DDI_DEV_T_ANY, parent,
1473 if (options == -1)
1474 options = scsi_get_device_type_scsi_options(parent, sd, -1);
1476 if (options == -1)
1477 options = ddi_prop_get_int(DDI_DEV_T_ANY, parent,
1478 DDI_PROP_DONTPASS | DDI_PROP_NOTPROM, "scsi-options", -1);
1480 if (options == -1)
1481 options = default_scsi_options;
1483 return (options);
1487 * Use scsi-options to return the maximum number of LUNs.
1492 int options;
1496 options = scsi_get_scsi_options(sd, SCSI_OPTIONS_NLUNS_DEFAULT);
1498 switch (SCSI_OPTIONS_NLUNS(options)) {