[][kernel][common][eth][Update firmware download feature for the Aquantia PHY driver]

Refactor firmware download feature for the Aquantia PHY driver.
  - Align "Retry Attempts before Downshift" setting with bypass
    firmware loading method.
  - Change create/destroy condition for the heartbeat check thread.
  - Fix Pasue/Asym Pause loss issue when recovering firmware by the
    hearbeat check thread.
  - Add a check condition for the firmware loading, the driver will
    bypass firmware loading if RFB attached a 10G PHY Flash.

If without this patch, the setting of the 10G PHY may differ from the
bypass firmware loading method.


Change-Id: I245da3b0e5b7299b42473c20cc6f0899cfff5bd3
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7508809
1 file changed