commit | e0fa433db28a2f51696b0fc48994354478ed6628 | [log] [tgz] |
---|---|---|
author | Jose Abreu <Jose.Abreu@synopsys.com> | Mon Mar 09 09:36:20 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 09 20:13:16 2020 -0700 |
tree | a0acdf91231de68cef7bb1754cf5325e3931fbf3 | |
parent | 6c9ee3069380d2dd98fbb410616d776c172ee64f [diff] |
net: stmmac: selftests: Do not fail if PHY is not attached If a PHY is not attached, we can still run the tests with MAC loopback mode. Return -EOPNOTSUPP error code in PHY loopback test so that global status is not a failure. Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>