|
@@ -232,6 +232,7 @@ struct vstor_packet {
|
|
|
#define STORVSC_MAX_LUNS_PER_TARGET 64
|
|
|
#define STORVSC_MAX_TARGETS 1
|
|
|
#define STORVSC_MAX_CHANNELS 1
|
|
|
+#define STORVSC_MAX_CMD_LEN 16
|
|
|
|
|
|
struct hv_storvsc_request;
|
|
|
|
|
@@ -1440,6 +1441,8 @@ static int storvsc_probe(struct hv_device *device)
|
|
|
host->max_id = STORVSC_MAX_TARGETS;
|
|
|
/* max # of channels */
|
|
|
host->max_channel = STORVSC_MAX_CHANNELS - 1;
|
|
|
+ /* max cmd length */
|
|
|
+ host->max_cmd_len = STORVSC_MAX_CMD_LEN;
|
|
|
|
|
|
/* Register the HBA and start the scsi bus scan */
|
|
|
ret = scsi_add_host(host, &device->device);
|