]> 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)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 20 Jul 2021 23:11:36 +0000 (16:11 -0700)
commit5951e78bfe58ad7e234a8e65b97096dc115f1fe3
tree055561fa1f795dcee1722f23c45416b4e5941042
parente211ef494106298344ec5e60678df9fa2d36f019
igc: Remove _I_PHY_ID checking

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>
drivers/net/ethernet/intel/igc/igc_base.c
drivers/net/ethernet/intel/igc/igc_main.c
drivers/net/ethernet/intel/igc/igc_phy.c