CHROMIUM: r8169.c: Fix WOL setting after resume from S3.
After resume from S3, register Config3 comes up as 0x60 (enable WOL),
regardless of previous state. Fix is to save previous state of Config3
and related WOL register bits and restore them upon resume.
BUG=chrome-os-partner:12129
TEST="ethtool eth0" after S3 resume and check that WOL is disabled. Also
verify that network card still functions as normal after resume.
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: I2495b71029ccc30f406aea60cfd843b3cc6c711e
Reviewed-on: https://gerrit.chromium.org/gerrit/37143
Commit-Ready: Shawn Nematbakhsh <shawnn@google.com>
Reviewed-by: Shawn Nematbakhsh <shawnn@google.com>
Tested-by: Shawn Nematbakhsh <shawnn@google.com>