bnxt_en: Add PHY loopback to ethtool self-test.
authorMichael Chan <michael.chan@broadcom.com>
Tue, 4 Apr 2017 22:14:14 +0000 (18:14 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Apr 2017 13:24:26 +0000 (06:24 -0700)
commit91725d89b97acea168a94c577d999801c3b3bcfb
tree728b1644e8b25689b1acbe4548130eef6ceff078
parentf7dc1ea6c4c1f31371b7098d6fae0d49dc6cdff1
bnxt_en: Add PHY loopback to ethtool self-test.

It is necessary to disable autoneg before enabling PHY loopback,
otherwise link won't come up.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c