[PATCH] aic94xx: delete ascb timers when freeing queues
authorDarrick J. Wong <djwong@us.ibm.com>
Wed, 15 Nov 2006 02:02:07 +0000 (18:02 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 22 Nov 2006 17:10:02 +0000 (11:10 -0600)
commit7b4feee973ca7be63345b92a987ef7ef879b179b
tree565295b48d73446358a1c36dab55eec102dffed8
parentdea22214790d1306f3a3444db13d2c726037b189
[PATCH] aic94xx: delete ascb timers when freeing queues

When the aic94xx driver creates ascbs, each ascb is initialized with a
timeout timer.  If there are any ascbs left over when the driver is being
torn down, these timers need to be deleted.  In particular, we seem to
hit this case when ascbs are issued yet never end up on the done list.
Right now there's a sequencer bug that results in this happening every
so often.

CONTROL PHY commands are typically sent when things are really messed
up with the sequencer; however, any other leftover ascb should produce
loud warnings.

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