Thread (15 messages) 15 messages, 3 authors, 2014-09-30

Re: [PATCH net-next 02/10] r8169:add disable/enable RTL8168G pll function

From: David Miller <davem@davemloft.net>
Date: 2014-09-30 20:43:36
Also in: lkml

From: Chun-Hao Lin <redacted>
Date: Tue, 30 Sep 2014 23:00:22 +0800
quoted hunk ↗ jump to hunk
@@ -4399,8 +4400,10 @@ static void r8168_pll_power_up(struct rtl8169_private *tp)
 		break;
 	case RTL_GIGA_MAC_VER_40:
 	case RTL_GIGA_MAC_VER_41:
+		RTL_W8(PMCH, RTL_R8(PMCH) | 0xc0);
 		rtl_w1w0_eri(tp, 0x1a8, ERIAR_MASK_1111, 0xfc000000,
 			     0x00000000, ERIAR_EXGMAC);
+
 		break;
There is no reason to add an empty line before the break; statement.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help