Messages in this thread Patch in this message | | | From | Chunhao Lin <> | Subject | [PATCH net-next 4/9] r8169:update rtl8411 ephy parameter | Date | Wed, 10 Dec 2014 00:45:58 +0800 |
| |
Update rtl8411 ephy parameter to improve pcie compatibility.
Signed-off-by: Chunhao Lin <hau@realtek.com> --- drivers/net/ethernet/realtek/r8169.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 9c946df..bb5a3ba 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -5904,17 +5904,19 @@ static void rtl_hw_start_8168f_1(struct rtl8169_private *tp) static void rtl_hw_start_8411(struct rtl8169_private *tp) { - static const struct ephy_info e_info_8168f_1[] = { + static const struct ephy_info e_info_8411[] = { { 0x06, 0x00c0, 0x0020 }, { 0x0f, 0xffff, 0x5200 }, { 0x1e, 0x0000, 0x4000 }, - { 0x19, 0x0000, 0x0224 } + { 0x19, 0x0000, 0x0224 }, + { 0x00, 0x0000, 0x0008 }, + { 0x0c, 0x3df0, 0x0200 } }; rtl_hw_start_8168f(tp); rtl_pcie_state_l2l3_enable(tp, false); - rtl_ephy_init(tp, e_info_8168f_1, ARRAY_SIZE(e_info_8168f_1)); + rtl_ephy_init(tp, e_info_8411, ARRAY_SIZE(e_info_8411)); rtl_w0w1_eri(tp, 0x0d4, ERIAR_MASK_0011, 0x0c00, 0x0000, ERIAR_EXGMAC); } -- 1.9.1
| |