r8169: workaround for missing extended GigaMAC registers
authorfrançois romieu <romieu@fr.zoreil.com>
Fri, 7 Dec 2012 11:20:21 +0000 (11:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Dec 2012 01:27:33 +0000 (20:27 -0500)
commit9ecb9aabaf634677c77af467f4e3028b09d7bcda
treeb5346766a36bc2b4fc8e0d610926d4da50e5ec4d
parentba501666fa8d44344a1f7e5158ba973491a70671
r8169: workaround for missing extended GigaMAC registers

GigaMAC registers have been reported left unitialized in several
situations:
- after cold boot from power-off state
- after S3 resume

Tweaking rtl_hw_phy_config takes care of both.

This patch removes an excess entry (",") at the end of the exgmac_reg
array as well.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Wang YanQing <udknight@gmail.com>
Cc: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c