[SCSI] correct the sym2 period setting routines
authorJames Bottomley <James.Bottomley@steeleye.com>
Fri, 6 May 2005 18:14:48 +0000 (13:14 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 6 May 2005 20:12:02 +0000 (15:12 -0500)
commite4862fedbc37a2c242824b100101f8e6e8488748
tree428cfeddc46cc3a7b695b65e34d8054494b55281
parent949bf797595fc99d4cadf9a294fe6fd32a4474e6
[SCSI] correct the sym2 period setting routines

There's a slight bug in the routines in that if the period requires dt,
then the routine will unconditionally set it.  DT may only be set if
Wide is also set, so this turns back on the wide bit.

For domain validation to work correctly, we need to observe the wide bit
absolutely.

Acked by: Matthew Wilcox <willy@debian.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sym53c8xx_2/sym_glue.c