]> git.itanic.dy.fi Git - linux-stable/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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 10 Dec 2019 18:01:23 +0000 (18:01 +0000)
commit183fb1de1665e1d6eea989414dea657caf75e474
tree1883920e408bc784d57280619cc5beb5a30d6d35
parentcf83b40c9d22829374811aad99fe26f15a8f70d0
net/phy: fix DP83865 10 Mbps HDX loopback disable function

commit e47488b2df7f9cb405789c7f5d4c27909fc597ae upstream.

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: 4621bf129856 ("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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/phy/national.c