[SCSI] aic7xxx: semaphore to completion conversion
commit8cac814501677e9f6a824cf4d423122ac8d67fcb
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Feb 2006 14:40:45 +0000 (6 15:40 +0100)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 28 Feb 2006 05:08:37 +0000 (27 23:08 -0600)
tree60dfd19ceaf02739cbab9d9b42cb6b8e9c11e543
parentfe27381d16c6683c55e618360d0d11bd43647e43
[SCSI] aic7xxx: semaphore to completion conversion

On Tue, Jan 31, 2006 at 06:20:18PM +0100, Christoph Hellwig wrote:
> switch eh_sem to a completion.  due to wait_for_completion_timeout this
> also nicely simplifies the code.  Unfortunately it's untested, so if
> someone with the hardware could give it a try that would be nice.  Once
> it works the same thing can be applied to aic79xx.

New version that switches to the common onstack completion and just a
pointer in the platform_data struct idiom.  This gets rid of all the
flags fiddling.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.h