]> git.baikalelectronics.ru Git - kernel.git/commit
net/phy: fix DP83865 10 Mbps HDX loopback disable function
authorPeter Mamonov <pmamonov@gmail.com>
Wed, 18 Sep 2019 16:27:55 +0000 (19:27 +0300)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sun, 22 Sep 2019 01:21:52 +0000 (18:21 -0700)
commitd11f8bda2083ba03b75850e66a5ff443ae57f9c2
tree2791c623c5354e6935bb067ce7a953dff9dbd203
parentdefd8a7176bbd54e02728507a4f2dbe9a258be32
net/phy: fix DP83865 10 Mbps HDX loopback disable function

According to the DP83865 datasheet "the 10 Mbps HDX loopback can be
disabled in the expanded memory register 0x1C0.1". The driver erroneously
used bit 0 instead of bit 1.

Fixes: e62166bd3710 ("phy: Add file missed in previous commit.")
Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/phy/national.c