]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] aic79xx, aic7xxx: Fix incorrect width setting
authorJames Bottomley <James.Bottomley@steeleye.com>
Thu, 26 Jul 2007 21:13:10 +0000 (17:13 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 27 Jul 2007 13:20:20 +0000 (09:20 -0400)
commit93cf67624dcd2714ce82b035a1ab74b0ab8cba7c
treeabda8332877503a5a16f5138ab4298c6072a574b
parentf2f6f183c28cd55d7fd3770c70245d0b7e6c1f95
[SCSI] aic79xx, aic7xxx: Fix incorrect width setting

Wide transfers are required for every setting of PPR apart from QAS.
It seems the DV code starts at the minimum, which turns on DT and Wide
regardless of the setting of max_width.  Redo the PPR and period
setting routines to respect max_width (i.e. start at period = 10 if it
is zero).

This fixes bugzilla 8366

Acked-by: "Freels, James D." <freelsjd@ornl.gov>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.c