sky2: hand receive DMA mapping failures
authorstephen hemminger <shemminger@vyatta.com>
Mon, 1 Feb 2010 13:45:41 +0000 (13:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 04:32:28 +0000 (20:32 -0800)
commit3fbd9187d004149fb8a98c9cb51ef9f4a4f66aca
treee307be7f7f8b9c6b41359c98399ea5a356da8b65
parent1621e0940294c20e302faf401f41204de7252e22
sky2: hand receive DMA mapping failures

If receive buffer mapping failed, then it was possible to get
stuck with unmapped receive buffer in DMA ring.

This would be an extremely rare condition because the driver had just
released the map for the last receive so it should be able to get
another map again (in soft-irq).

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c