]> git.baikalelectronics.ru Git - kernel.git/commit
net: pcs: add 2500BASEX support for Intel mGbE controller
authorVoon Weifeng <weifeng.voon@intel.com>
Tue, 8 Jun 2021 03:51:57 +0000 (11:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jun 2021 21:31:43 +0000 (14:31 -0700)
commitfda78ccce887e1514d525dcc1eb84734c3aa273a
tree03323852fca355b7bc9b7a40c855bf6f52d5d0b5
parent4d3e756e3d9755587fb9ccc2384bac0075aee40a
net: pcs: add 2500BASEX support for Intel mGbE controller

XPCS IP supports 2500BASEX as PHY interface. It is configured as
autonegotiation disable to cater for PHYs that does not supports 2500BASEX
autonegotiation.

v2: Add supported link speed masking.
v3: Restructure to introduce xpcs_config_2500basex() used to configure the
    xpcs for 2.5G speeds. Added 2500BASEX specific information for
    configuration.
v4: Fix indentation error

Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcs/pcs-xpcs.c
include/linux/pcs/pcs-xpcs.h