gianfar: Move tbase/rbase initialization to gfar_init_mac()
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 12 Oct 2009 06:00:36 +0000 (06:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 06:54:03 +0000 (23:54 -0700)
commit32c513bca062f6c04b902d09c716fea205671e23
tree1e0bc56d3d0b3c5b8c544c6a355ebbe3b33ae78a
parent826aa4a05669a46e435f65db901186e42bb43d8d
gianfar: Move tbase/rbase initialization to gfar_init_mac()

For hibernation we want to call gfar_init_mac() without need to
free/allocate_skb_resources sequence, so save the DMA address into a
private struct, and move tbase/rbase initialization to gfar_init_mac().

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