]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit64771a247160feacc1ed1de3c64f40871f520028
tree565295b48d73446358a1c36dab55eec102dffed8
parentf17840717730191548182ea4bc80b1f4a477d59b
[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