]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1df4e0af6d8dcf2908a78d5393cad21082e9d344
tree428cfeddc46cc3a7b695b65e34d8054494b55281
parentb3823dd06764e52364f18317fa1af2c4b517593c
[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