]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] sym2: Disable IU and QAS negotiation
authorMatthew Wilcox <matthew@wil.cx>
Wed, 30 Nov 2005 04:08:38 +0000 (23:08 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 1 Dec 2005 21:59:50 +0000 (15:59 -0600)
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>
drivers/scsi/sym53c8xx_2/sym_glue.c

index d76766c3ce1643158ecc27a29dc157d0d36c9ea4..7fc0b97173e1ec396e2a215391d031717b62502e 100644 (file)
@@ -2086,6 +2086,7 @@ static void sym2_set_dt(struct scsi_target *starget, int dt)
        tp->tgoal.check_nego = 1;
 }
 
+#if 0
 static void sym2_set_iu(struct scsi_target *starget, int iu)
 {
        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)
                tp->tgoal.qas = 0;
        tp->tgoal.check_nego = 1;
 }
-
+#endif
 
 static struct spi_function_template sym2_transport_functions = {
        .set_offset     = sym2_set_offset,
@@ -2122,10 +2123,12 @@ static struct spi_function_template sym2_transport_functions = {
        .show_width     = 1,
        .set_dt         = sym2_set_dt,
        .show_dt        = 1,
+#if 0
        .set_iu         = sym2_set_iu,
        .show_iu        = 1,
        .set_qas        = sym2_set_qas,
        .show_qas       = 1,
+#endif
        .get_signalling = sym2_get_signalling,
 };