diff options
| author | Chun-Hao Lin <hau@realtek.com> | 2015-12-24 08:15:26 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-12-28 00:19:37 -0500 |
| commit | e2e2788e4e96af1383a411335c5686a4b8c82496 (patch) | |
| tree | 3c6214b889e4b64d87178c8b0f56b19d1d7efd06 /drivers/net/ethernet/realtek | |
| parent | 032c5e82847a2214c3196a90f0aeba0ce252de58 (diff) | |
r8169:Fix typo in setting RTL8168H PHY parameter
In function "rtl8168h_2_hw_phy_config", there is a typo in setting
RTL8168H PHY parameter.
Signed-off-by: Chunhao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek')
| -rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 79ef799f88ab..11cc32b1755e 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c | |||
| @@ -3947,7 +3947,7 @@ static void rtl8168h_2_hw_phy_config(struct rtl8169_private *tp) | |||
| 3947 | data = (ioffset_p3<<12)|(ioffset_p2<<8)|(ioffset_p1<<4)|(ioffset_p0); | 3947 | data = (ioffset_p3<<12)|(ioffset_p2<<8)|(ioffset_p1<<4)|(ioffset_p0); |
| 3948 | 3948 | ||
| 3949 | if ((ioffset_p3 != 0x0f) || (ioffset_p2 != 0x0f) || | 3949 | if ((ioffset_p3 != 0x0f) || (ioffset_p2 != 0x0f) || |
| 3950 | (ioffset_p1 != 0x0f) || (ioffset_p0 == 0x0f)) { | 3950 | (ioffset_p1 != 0x0f) || (ioffset_p0 != 0x0f)) { |
| 3951 | rtl_writephy(tp, 0x1f, 0x0bcf); | 3951 | rtl_writephy(tp, 0x1f, 0x0bcf); |
| 3952 | rtl_writephy(tp, 0x16, data); | 3952 | rtl_writephy(tp, 0x16, data); |
| 3953 | rtl_writephy(tp, 0x1f, 0x0000); | 3953 | rtl_writephy(tp, 0x1f, 0x0000); |
