sky2: handle dma mapping errors
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 3 Feb 2009 11:27:28 +0000 (11:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2009 23:08:35 +0000 (15:08 -0800)
commit454e6cb6868dd5c88d8bcdab407caa3738d30c2b
tree182b21717db92f80f4af73c7cae4884a2e22d443
parent1bd68c04850b9e73f1c7022b9a8c38cd14ceb37d
sky2: handle dma mapping errors

On non-x86 platforms it is possible to run out of DMA mapping resources.
The driver was ignoring this and could cause corruptions.

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