From: Breno Leitao Date: Tue, 10 Nov 2009 09:44:23 +0000 (+0000) Subject: s2io: fixing a ethtool test that is broken X-Git-Tag: v2.6.32-rc8~10^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8a623bf836ccfab09a5a6daf62116f455082e6e;p=pandora-kernel.git s2io: fixing a ethtool test that is broken Due commit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff, it is not more possible to pci_restore_state() more than once without calling pci_save_state() in the middle. Actually running a ethtool test on s2io makes the card inactive, and it needs to unload/reload the module to fix. This patch just save the state just after it restore in order to keep the old behaviour Signed-off-by: Breno Leitao Signed-off-by: David S. Miller --- Reading git-diff-tree failed