aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/aquantia/atlantic/aq_nic.c
diff options
context:
space:
mode:
authorIgor Russkikh <igor.russkikh@aquantia.com>2018-04-11 15:23:24 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-11 10:41:36 -0400
commitcce96d1883dae4b79f44890e5118243d806da286 (patch)
tree95da1b3901f16652f5e735a7b70051d1eb4615d2 /drivers/net/ethernet/aquantia/atlantic/aq_nic.c
parentcdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN (diff)
downloadlinux-dev-cce96d1883dae4b79f44890e5118243d806da286.tar.xz
linux-dev-cce96d1883dae4b79f44890e5118243d806da286.zip
net: aquantia: Regression on reset with 1.x firmware
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>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_nic.c')
0 files changed, 0 insertions, 0 deletions