igc: Remove temporary workaround
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 24 Jan 2024 05:57:00 +0000 (07:57 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 14 Feb 2024 17:43:09 +0000 (09:43 -0800)
commit55ea989977f4e11a1c3bdfabb51295090bb0f7d6
treeca51c42b65cbb75b75ef52f5cf4f884f7e046334
parentc56d055893cbe97848611855d1c97d0ab171eccc
igc: Remove temporary workaround

PHY_CONTROL register works as defined in the IEEE 802.3 specification
(IEEE 802.3-2008 22.2.4.1). Tidy up the temporary workaround.

User impact: PHY can now be powered down when the ethernet link is down.

Testing hints: ip link set down <device> (or just disconnect the
ethernet cable).

Oldest tested NVM version is: 1045:740.

Fixes: 5586838fe9ce ("igc: Add code for PHY support")
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_phy.c