[SCSI] aic94xx: Lock DDB read/write accesses
authorDarrick J. Wong <djwong@us.ibm.com>
Thu, 11 Jan 2007 22:15:32 +0000 (14:15 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 13 Jan 2007 22:19:42 +0000 (16:19 -0600)
commit57ba07dc54b7657e69fe8ac42d83df21e415c85b
tree493da7233a4d7116c6302099a81c6c087b106165
parent3b709df5f7c83b6b0907217a248a1414a37ffcb6
[SCSI] aic94xx: Lock DDB read/write accesses

Extend the use of the DDB lock to include all DDB accesses, because
DDB updates now occur from multiple threads.  This fixes the SMP timeout
problems that we were occasionally seeing with a x260, because the
controller got confused when the DDBs got corrupted.

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
drivers/scsi/aic94xx/aic94xx_seq.c