gianfar: Split allocation and initialization steps out of startup_gfar()
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 12 Oct 2009 06:00:34 +0000 (06:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 06:54:03 +0000 (23:54 -0700)
commit826aa4a05669a46e435f65db901186e42bb43d8d
tree05dd59c09653610b06ee20d957c7387fbe9bf413
parent14231176b0dc358f8693f25b62017d222dd995e6
gianfar: Split allocation and initialization steps out of startup_gfar()

Two new functions implemented: gfar_alloc_skb_resources() and
gfar_init_mac(). We'll use gfar_init_mac() for restoring after
hibernation.

The patch just moves the code around, there should be no functional
changes.

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