mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
octeontx2-af: CN10KB: Add USGMII LMAC mode
Upon physical link change, firmware reports to the kernel about the change along with the details like speed, lmac_type_id, etc. Kernel derives lmac_type based on lmac_type_id received from firmware. This patch extends current lmac list with new USGMII mode supported by CN10KB RPM block. Signed-off-by: Hariprasad Kelam <hkelam@marvell.com> Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c639a708a0
commit
5266733c79
@ -55,6 +55,7 @@ static const char *cgx_lmactype_string[LMAC_MODE_MAX] = {
|
||||
[LMAC_MODE_50G_R] = "50G_R",
|
||||
[LMAC_MODE_100G_R] = "100G_R",
|
||||
[LMAC_MODE_USXGMII] = "USXGMII",
|
||||
[LMAC_MODE_USGMII] = "USGMII",
|
||||
};
|
||||
|
||||
/* CGX PHY management internal APIs */
|
||||
|
@ -110,6 +110,7 @@ enum LMAC_TYPE {
|
||||
LMAC_MODE_50G_R = 8,
|
||||
LMAC_MODE_100G_R = 9,
|
||||
LMAC_MODE_USXGMII = 10,
|
||||
LMAC_MODE_USGMII = 11,
|
||||
LMAC_MODE_MAX,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user