diff options
author | Matthew Wilcox <matthew@wil.cx> | 2005-11-29 23:08:38 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-01 16:59:50 -0500 |
commit | 8b2f81385aa02e9405990b7fe44462dfceb75ef7 (patch) | |
tree | e474d795ad3e0716d5123349519475700132e9df /drivers/scsi/sym53c8xx_2 | |
parent | fb121b067be77a9927e9453e427cf5819eb8ef01 (diff) |
[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: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_glue.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index d76766c3ce16..7fc0b97173e1 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -2086,6 +2086,7 @@ static void sym2_set_dt(struct scsi_target *starget, int dt) | |||
2086 | tp->tgoal.check_nego = 1; | 2086 | tp->tgoal.check_nego = 1; |
2087 | } | 2087 | } |
2088 | 2088 | ||
2089 | #if 0 | ||
2089 | static void sym2_set_iu(struct scsi_target *starget, int iu) | 2090 | static void sym2_set_iu(struct scsi_target *starget, int iu) |
2090 | { | 2091 | { |
2091 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | 2092 | 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 | tp->tgoal.qas = 0; | 2112 | tp->tgoal.qas = 0; |
2112 | tp->tgoal.check_nego = 1; | 2113 | tp->tgoal.check_nego = 1; |
2113 | } | 2114 | } |
2114 | 2115 | #endif | |
2115 | 2116 | ||
2116 | static struct spi_function_template sym2_transport_functions = { | 2117 | static struct spi_function_template sym2_transport_functions = { |
2117 | .set_offset = sym2_set_offset, | 2118 | .set_offset = sym2_set_offset, |
@@ -2122,10 +2123,12 @@ static struct spi_function_template sym2_transport_functions = { | |||
2122 | .show_width = 1, | 2123 | .show_width = 1, |
2123 | .set_dt = sym2_set_dt, | 2124 | .set_dt = sym2_set_dt, |
2124 | .show_dt = 1, | 2125 | .show_dt = 1, |
2126 | #if 0 | ||
2125 | .set_iu = sym2_set_iu, | 2127 | .set_iu = sym2_set_iu, |
2126 | .show_iu = 1, | 2128 | .show_iu = 1, |
2127 | .set_qas = sym2_set_qas, | 2129 | .set_qas = sym2_set_qas, |
2128 | .show_qas = 1, | 2130 | .show_qas = 1, |
2131 | #endif | ||
2129 | .get_signalling = sym2_get_signalling, | 2132 | .get_signalling = sym2_get_signalling, |
2130 | }; | 2133 | }; |
2131 | 2134 | ||