[SCSI] aic94xx: SATA tag mask not set correctly
authorDarrick J. Wong <djwong@us.ibm.com>
Thu, 5 Oct 2006 22:12:37 +0000 (15:12 -0700)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 18 Jul 2007 16:13:59 +0000 (11:13 -0500)
commit797f49de3d95d964a360bcf0167cc20e249bb90b
tree500f4d0f5647a07e107d975f1b3eaef5608b96dc
parent38e2f035587b0674b3168931c8402f4d719fdd76
[SCSI] aic94xx: SATA tag mask not set correctly

The aic94xx controller has a bitmask establishing which tags are ok to
use with a SATA NCQ disk.  When the queue depth is 32, however, the
expression that is used sets the mask to zero, not 0xFFFFFFFF.
This patch widens the width of the integer so that this case is handled
properly.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic94xx/aic94xx_dev.c