]> 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)
commitb80a6a84155a7b82b8d5c1b5eb58ddaeab37a09e
tree03323852fca355b7bc9b7a40c855bf6f52d5d0b5
parent0ad9e0d09ef241a5a9847f613196f743e161535d
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