]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23b595ebea21ef89b4340e3c68f4166078ecfa49
tree1f64a312e00a030620e4874e614995dc575fe6cf
parent68571f1eede43c88ce77ec2c4889beb4eb2060c4
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