OSDN Git Service

gianfar: Factor out RX BDs initialization from gfar_new_rxbdp()
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 12 Oct 2009 06:00:37 +0000 (06:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 06:54:04 +0000 (23:54 -0700)
commit8a102fe001cc016dabcc392247a2b008e37ffe6a
tree1f64a312e00a030620e4874e614995dc575fe6cf
parent32c513bca062f6c04b902d09c716fea205671e23
gianfar: Factor out RX BDs initialization from gfar_new_rxbdp()

We want to just reinitialize RX BDs after hibernation, no need to
map the skb->data again. So let's factor gfar_init_rxbdp() out of
gfar_new_rxbdp().

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c