Subject: Re: NCR 53C9X driver without interrupts ?
To: None <mark@causality.com>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: tech-kern
Date: 09/08/1998 09:25:25
> If so what is the solution ? Implement another means of passing the
> information from ncr53c9x_done back to ncr53c9x_poll ?
Instead of waiting for ITSDONE in `xs_flags' you could wait for the
associated ecb to be freed, e.g. `while ((ecb->flags & ECB_ALLOC) != 0)'.
This has the added advantage of not relying on implementation details
in the scsi layer, like the `xs' being kept alive long enough (instead
we rely on our own implementation detail that `ecb_free()' just moves
the item between queues).
-pk