aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amazon
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2017-11-19 11:09:58 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-19 21:27:49 +0900
commit1814d6a8c4be3954810d72d9223cfa37091a5e68 (patch)
tree9f6262bc451b43e049ae3a2e23a95a2b1fc43011 /drivers/net/ethernet/amazon
parenttun: fix rcu_read_lock imbalance in tun_build_skb (diff)
downloadlinux-dev-1814d6a8c4be3954810d72d9223cfa37091a5e68.tar.xz
linux-dev-1814d6a8c4be3954810d72d9223cfa37091a5e68.zip
r8169: fix RTL8111EVL EEE and green settings
Name of functions rtl_w0w1_eri and rtl_w0w1_phy is somewhat misleading regarding order of arguments. One could assume that w0w1 means argument with bits to be reset comes before argument with bits to set. However this is not the case. So fix the order of arguments in several statements. In addition fix EEE advertisement. The current code resets the bits for 100BaseT and 1000BaseT EEE advertisement what is not what we want. I have a little of a hard time to find a proper "Fixes" line as the issue seems to have been there forever (at least it existed already when the driver was moved to the current place in 2011). The patch was tested on a Zotac Mini-PC with a RTL8111E-VL chip. Before the patch EEE was disabled, now it's properly advertised and works fine. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amazon')
0 files changed, 0 insertions, 0 deletions