r8169:modify the behavior of function "rtl8168_oob_notify"
authorChun-Hao Lin <hau@realtek.com>
Wed, 1 Oct 2014 15:17:20 +0000 (23:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2014 19:33:18 +0000 (15:33 -0400)
commit2a9b4d9670e71784896d95c41c9b0acd50db1dbb
tree5473cc4ebc9ef683486006989d68871bb8ff94e7
parent2f8c040ce6791ef0477e6d59768ee3d5fd0df0fd
r8169:modify the behavior of function "rtl8168_oob_notify"

In function "rtl8168_oob_notify", using function "rtl_eri_write" to access
eri register 0xe8, instead of using MAC register "ERIDR" and "ERIAR" to
access it.

For using function "rtl_eri_write" in function "rtl8168_oob_notify", need to
move down "rtl8168_oob_notify" related functions under the function
"rtl_eri_write".

Signed-off-by: Chun-Hao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c