From: Mike McCormack Date: Fri, 12 Feb 2010 06:58:03 +0000 (+0000) Subject: sky2: Allocate initial skbs in sky2_alloc_buffers X-Git-Tag: v2.6.34-rc1~233^2~346 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=200ac492b3c366346fcabd11897fadbd1a7a6599;p=pandora-kernel.git sky2: Allocate initial skbs in sky2_alloc_buffers Allocate everything in one place so there's a single point of failure in sky2_up, and sky2_rx_start can no longer fail. Don't leave the hardware in a partially initialized state in the case rx ring allocation fails. As with the old code, the rx ring still needs to be fully allocated for sky2_up to succeed. Signed-off-by: Mike McCormack Acked-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed