scsi: define SCSI_DEVICE_MAX_LUN_COUNT to set a custom max lun count.
* virtio_scsi can have 16384 luns, though we cap at 256 as our scsi_ccb only uses uchar as a type for target_lun and target_id members. * minor code cleanup in scsi_scan_bus().
This commit is contained in:
@@ -288,6 +288,8 @@ typedef struct {
|
||||
|
||||
// maximum targets on scsi bus
|
||||
#define SCSI_DEVICE_MAX_TARGET_COUNT "scsi/max_target_count"
|
||||
// maximum luns on scsi bus
|
||||
#define SCSI_DEVICE_MAX_LUN_COUNT "scsi/max_lun_count"
|
||||
|
||||
// directory containing links to peripheral drivers
|
||||
#define SCSI_PERIPHERAL_DRIVERS_DIR "scsi"
|
||||
|
||||
Reference in New Issue
Block a user