From: Anton Vorontsov Date: Mon, 12 Oct 2009 06:00:42 +0000 (+0000) Subject: gianfar: Add support for hibernation X-Git-Tag: v2.6.33-rc1~388^2~832 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be926fc4046913d9ad921aeacdf9329978241c38;p=pandora-kernel.git gianfar: Add support for hibernation Thanks to various cleanups and refactorings this is now straightforward: convert the gianfar driver to dev_pm_ops, plus add ->restore() callback that will fully reinitialize MAC internal registers and BDs. Note that I kept legacy suspend/resume callbacks so that this patch doesn't depend on PowerPC changes (i.e. dev_pm_ops support for OF platform drivers). Signed-off-by: Anton Vorontsov Signed-off-by: David S. Miller --- Reading git-diff-tree failed