sfc: Fix search for flush completion events
commit4720bc6cfe70b606cf62a244c7a5391e59923e45
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 4 Mar 2009 10:01:15 +0000 (4 10:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2009 01:40:24 +0000 (4 17:40 -0800)
tree545d302af8e36501f3001473a2826bf7c9fd6764
parent32d760073eacd41ecc815db1e958f0e1e0b82d57
sfc: Fix search for flush completion events

When flushing queues we disable normal interrupt and event handling and
poll event queue 0 looking for flush completions.  Unfortunately the
flush event polling loop fails to move past any other type of event.
This problem has not been observed in production hardware but appears to
be a possibility.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/falcon.c