summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cisco
diff options
context:
space:
mode:
authorIgor Russkikh <igor.russkikh@aquantia.com>2018-04-11 15:23:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-29 11:35:49 +0200
commit5ba0d5df77dd7528bb2a2e8bd577382c8676991d (patch)
tree0808ea74bb3c02a9c9fedb8aa1f9664fe3fb5c75 /drivers/net/ethernet/cisco
parent8a92bcf2d4d86cfb3399fa35e4b06060404d80eb (diff)
downloadlinux-rt-5ba0d5df77dd7528bb2a2e8bd577382c8676991d.tar.gz
net: aquantia: Regression on reset with 1.x firmware
[ Upstream commit cce96d1883dae4b79f44890e5118243d806da286 ] On ASUS XG-C100C with 1.5.44 firmware a special mode called "dirty wake" is active. With this mode when motherboard gets powered (but no poweron happens yet), NIC automatically enables powersave link and watches for WOL packet. This normally allows to powerup the PC after AC power failures. Not all motherboards or bios settings gives power to PCI slots, so this mode is not enabled on all the hardware. 4.16 linux driver introduced full hardware reset sequence This is required since before that we had no NIC hardware reset implemented and there were side effects of "not clean start". But this full reset is incompatible with "dirty wake" WOL feature it keeps the PHY link in a special mode forever. As a consequence, driver sees no link and no traffic. To fix this we forcibly change FW state to idle state before doing the full reset. This makes FW to restore link state. Fixes: c8c82eb net: aquantia: Introduce global AQC hardware reset sequence Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/cisco')
0 files changed, 0 insertions, 0 deletions