Skip to content

gianfar: Add support for hibernation

Anton Vorontsov linuxppc-dev netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8gianfar: Some cleanups for startup_gfar()drivers/net/gianfar.c+64 -790 replies
2/8gianfar: Simplify skb resources freeing codedrivers/net/gianfar.c+25 -280 replies
3/8gianfar: Don't needlessly set the wrap bit for the last RX BDdrivers/net/gianfar.c+0 -40 replies
4/8gianfar: Split allocation and initialization steps out of startup_gfar()drivers/net/gianfar.c+176 -1580 replies
5/8gianfar: Move tbase/rbase initialization to gfar_init_mac()drivers/net/gianfar.c drivers/net/gianfar.h+9 -90 replies
6/8gianfar: Factor out RX BDs initialization from gfar_new_rxbdp()drivers/net/gianfar.c+21 -120 replies
7/8gianfar: Factor out gfar_init_bds() from gfar_alloc_skb_resources()drivers/net/gianfar.c+56 -400 replies
8/8gianfar: Add support for hibernationdrivers/net/gianfar.c+70 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] gianfar: Add support for hibernation

Hi all,

Here are few patches that add support for hibernation for gianfar driver.

Technically, we could just do gfar_close() and then gfar_enet_open() sequence to restore gianfar functionality after hibernation, but close/open does so many unneeded things (e.g. BDs buffers freeing and allocation, IRQ freeing and requesting), that I felt it would be much better to cleanup and refactor some code to make the hibernation [and not only hibernation] code a little bit prettier.

Patches on the way...

Thanks,

Signature · 3 lines
Anton Vorontsov
email: [email protected]
irc://irc.freenode.net/bd2