Commit 4dd4130a authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Martin K. Petersen

scsi: make sure all drivers set the use_clustering flag

A few drivers were not setting the use_clustering flag at all and thus
default to disable.  Fix them up to explicitly set this field in
preparation for additional cleanups.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 8b2db98e
...@@ -2197,6 +2197,7 @@ static struct scsi_host_template mvumi_template = { ...@@ -2197,6 +2197,7 @@ static struct scsi_host_template mvumi_template = {
.eh_timed_out = mvumi_timed_out, .eh_timed_out = mvumi_timed_out,
.eh_host_reset_handler = mvumi_host_reset, .eh_host_reset_handler = mvumi_host_reset,
.bios_param = mvumi_bios_param, .bios_param = mvumi_bios_param,
.use_clustering = DISABLE_CLUSTERING,
.this_id = -1, .this_id = -1,
}; };
......
...@@ -2236,6 +2236,7 @@ struct scsi_host_template myrb_template = { ...@@ -2236,6 +2236,7 @@ struct scsi_host_template myrb_template = {
.shost_attrs = myrb_shost_attrs, .shost_attrs = myrb_shost_attrs,
.sdev_attrs = myrb_sdev_attrs, .sdev_attrs = myrb_sdev_attrs,
.this_id = -1, .this_id = -1,
.use_clustering = DISABLE_CLUSTERING,
}; };
/** /**
......
...@@ -1929,6 +1929,7 @@ struct scsi_host_template myrs_template = { ...@@ -1929,6 +1929,7 @@ struct scsi_host_template myrs_template = {
.shost_attrs = myrs_shost_attrs, .shost_attrs = myrs_shost_attrs,
.sdev_attrs = myrs_sdev_attrs, .sdev_attrs = myrs_sdev_attrs,
.this_id = -1, .this_id = -1,
.use_clustering = DISABLE_CLUSTERING,
}; };
static struct myrs_hba *myrs_alloc_host(struct pci_dev *pdev, static struct myrs_hba *myrs_alloc_host(struct pci_dev *pdev,
......
...@@ -1489,6 +1489,7 @@ static struct scsi_host_template driver_template = { ...@@ -1489,6 +1489,7 @@ static struct scsi_host_template driver_template = {
.eh_abort_handler = stex_abort, .eh_abort_handler = stex_abort,
.eh_host_reset_handler = stex_reset, .eh_host_reset_handler = stex_reset,
.this_id = -1, .this_id = -1,
.use_clustering = DISABLE_CLUSTERING,
}; };
static struct pci_device_id stex_pci_tbl[] = { static struct pci_device_id stex_pci_tbl[] = {
......
...@@ -6982,6 +6982,7 @@ static struct scsi_host_template ufshcd_driver_template = { ...@@ -6982,6 +6982,7 @@ static struct scsi_host_template ufshcd_driver_template = {
.max_host_blocked = 1, .max_host_blocked = 1,
.track_queue_depth = 1, .track_queue_depth = 1,
.sdev_groups = ufshcd_driver_groups, .sdev_groups = ufshcd_driver_groups,
.use_clustering = DISABLE_CLUSTERING,
}; };
static int ufshcd_config_vreg_load(struct device *dev, struct ufs_vreg *vreg, static int ufshcd_config_vreg_load(struct device *dev, struct ufs_vreg *vreg,
......
...@@ -879,6 +879,7 @@ static struct scsi_host_template uas_host_template = { ...@@ -879,6 +879,7 @@ static struct scsi_host_template uas_host_template = {
.this_id = -1, .this_id = -1,
.sg_tablesize = SG_NONE, .sg_tablesize = SG_NONE,
.skip_settle_delay = 1, .skip_settle_delay = 1,
.use_clustering = DISABLE_CLUSTERING,
}; };
#define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \ #define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment