]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Add functions which apply correct PHY access method for read and write operation
authorMichal Kosiarz <michal.kosiarz@intel.com>
Mon, 21 Nov 2016 21:03:50 +0000 (13:03 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Dec 2016 05:09:39 +0000 (21:09 -0800)
commit7c45ab7a5cdbfe9f7175d6b50f607964e986621f
tree4c45a9e239dc28a0c5c6f838997f90635036b80d
parent0b598bfc50fa4246f34198ee5e16555a43ccace3
i40e: Add functions which apply correct PHY access method for read and write operation

Depending on external PHY type, register access method should be
different. Clause22 or Clause45 can be chosen for different PHYs.
Implemented functions apply correct access method for used device.

Change-ID: If39d5f0da9c0b905a8cbdc1ab89885535e7d0426
Signed-off-by: Michal Kosiarz <michal.kosiarz@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_prototype.h
drivers/net/ethernet/intel/i40evf/i40e_prototype.h