]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 10:30:13 +0000 (12:30 +0200)
commit9d8ea820ac9438163306aeb1c112e34417f1970b
treed977e79546ce0d04d18b67d0aa1fa79bd5c08763
parent2ddbe6e01931e4a2074a9ddc97e87e688c462c90
net/phy: fix DP83865 10 Mbps HDX loopback disable function

[ Upstream commit e47488b2df7f9cb405789c7f5d4c27909fc597ae ]

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/phy/national.c