Home
last modified time | relevance | path

Searched refs:un_max_hba_cdb (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h330 int un_max_hba_cdb; /* Largest CDB supported by HBA */ member
674 _NOTE(DATA_READABLE_WITHOUT_LOCK(sd_lun::un_max_hba_cdb))
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c12840 un->un_max_hba_cdb = scsi_ifgetcap(SD_ADDRESS(un), "max-cdb-length", 1); in sd_init_cdb_limits()
12841 if (0 >= un->un_max_hba_cdb) { in sd_init_cdb_limits()
12842 un->un_max_hba_cdb = CDB_GROUP4; in sd_init_cdb_limits()
12844 } else if (0 < un->un_max_hba_cdb && in sd_init_cdb_limits()
12845 un->un_max_hba_cdb < CDB_GROUP1) { in sd_init_cdb_limits()
12847 } else if (CDB_GROUP1 <= un->un_max_hba_cdb && in sd_init_cdb_limits()
12848 un->un_max_hba_cdb < CDB_GROUP5) { in sd_init_cdb_limits()
12850 } else if (CDB_GROUP5 <= un->un_max_hba_cdb && in sd_init_cdb_limits()
12851 un->un_max_hba_cdb < CDB_GROUP4) { in sd_init_cdb_limits()