]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: WakeOnLan fix for the 8168
authorfrançois romieu <romieu@fr.zoreil.com>
Fri, 24 Jul 2009 12:34:19 +0000 (12:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2009 03:18:52 +0000 (20:18 -0700)
commit34d2fd155101129021ab9f721b7180988de73063
treeedf6f77c4f367be9673cc340edd72eeeb326b982
parent0457533192dd38ddb84972b4e53629b31adbd384
r8169: WakeOnLan fix for the 8168

More stuff for http://bugzilla.kernel.org/show_bug.cgi?id=9512

Some 8168 are unable to WoL when receiving is not enabled (plain
old 8169 do not seem to care).

It is not exactly pretty to leave the receiver enabled but we
should now enable DMA late enough for it to be safe. Some late
stage boot failure due to pxe and friends may benefit from the
delayed enabling of bus-mastering as well.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Tested-by: Jaromír Cápík <tavvva@volny.cz>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
drivers/net/r8169.c