Commit 8b2f8138 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by James Bottomley

[SCSI] sym2: Disable IU and QAS negotiation

Enabling these features causes problems with some drives, so disable
them until they're debugged
Signed-off-by: default avatarMatthew Wilcox <matthew@wil.cx>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent fb121b06
...@@ -2086,6 +2086,7 @@ static void sym2_set_dt(struct scsi_target *starget, int dt) ...@@ -2086,6 +2086,7 @@ static void sym2_set_dt(struct scsi_target *starget, int dt)
tp->tgoal.check_nego = 1; tp->tgoal.check_nego = 1;
} }
#if 0
static void sym2_set_iu(struct scsi_target *starget, int iu) static void sym2_set_iu(struct scsi_target *starget, int iu)
{ {
struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
...@@ -2111,7 +2112,7 @@ static void sym2_set_qas(struct scsi_target *starget, int qas) ...@@ -2111,7 +2112,7 @@ static void sym2_set_qas(struct scsi_target *starget, int qas)
tp->tgoal.qas = 0; tp->tgoal.qas = 0;
tp->tgoal.check_nego = 1; tp->tgoal.check_nego = 1;
} }
#endif
static struct spi_function_template sym2_transport_functions = { static struct spi_function_template sym2_transport_functions = {
.set_offset = sym2_set_offset, .set_offset = sym2_set_offset,
...@@ -2122,10 +2123,12 @@ static struct spi_function_template sym2_transport_functions = { ...@@ -2122,10 +2123,12 @@ static struct spi_function_template sym2_transport_functions = {
.show_width = 1, .show_width = 1,
.set_dt = sym2_set_dt, .set_dt = sym2_set_dt,
.show_dt = 1, .show_dt = 1,
#if 0
.set_iu = sym2_set_iu, .set_iu = sym2_set_iu,
.show_iu = 1, .show_iu = 1,
.set_qas = sym2_set_qas, .set_qas = sym2_set_qas,
.show_qas = 1, .show_qas = 1,
#endif
.get_signalling = sym2_get_signalling, .get_signalling = sym2_get_signalling,
}; };
......
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