]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove _I_PHY_ID checking
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 7 Jul 2021 05:14:40 +0000 (08:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:17:17 +0000 (11:17 +0200)
commitc758044cd1c8ca3cf6c7fe6c631811cac2661326
treec9bfbbbda7c308c3d793ded834b74d629dbd1caa
parent65f581d8700b66abd4f2aaac3cd178a82f6e5a5e
igc: Remove _I_PHY_ID checking

commit 735cafc9846b49e2ae110a1419e97990d3d27f70 upstream.

i225 devices have only one PHY vendor. There is no point checking
_I_PHY_ID during the link establishment and auto-negotiation process.
This patch comes to clean up these pointless checkings.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Cc: Linjun Bao <meljbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/igc/igc_base.c
drivers/net/ethernet/intel/igc/igc_main.c
drivers/net/ethernet/intel/igc/igc_phy.c