summaryrefslogtreecommitdiff
path: root/drivers/net/meth.c
diff options
context:
space:
mode:
authorMike McCormack <mikem@ring3k.org>2010-02-12 06:58:03 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-02-13 00:21:02 (GMT)
commit200ac492b3c366346fcabd11897fadbd1a7a6599 (patch)
tree1dbf91be83168ca6ec6d3612544d58ca3f96fac6 /drivers/net/meth.c
parent39ef110ba859f44efeb9a88d0e85316cd1bbecda (diff)
downloadlinux-200ac492b3c366346fcabd11897fadbd1a7a6599.tar.xz
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 <mikem@ring3k.org> Acked-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/meth.c')
0 files changed, 0 insertions, 0 deletions