phy: Add 25G_AUI, XLAUI, CAUI2, CAUI4 related macros
authorPriyanka Jain <priyanka.jain@nxp.com>
Mon, 27 Aug 2018 09:45:19 +0000 (15:15 +0530)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:28:55 +0000 (12:28 -0500)
NXP SoCs like LX2160A can support new ethernet modes
which are 25G_AUI(25G), XLAUI(40G), CAUI2(50G)
and CAUI4(100G)
Add corresponding macros definitions in phy_interface.h

Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
include/phy_interface.h

index 0760d65de518f1a900b3002b15fb8fb88348ffb6..c6823189f848776808b99d6a64c3a851b8a577d0 100644 (file)
@@ -27,6 +27,10 @@ typedef enum {
        PHY_INTERFACE_MODE_RXAUI,
        PHY_INTERFACE_MODE_SFI,
        PHY_INTERFACE_MODE_INTERNAL,
+       PHY_INTERFACE_MODE_25G_AUI,
+       PHY_INTERFACE_MODE_XLAUI,
+       PHY_INTERFACE_MODE_CAUI2,
+       PHY_INTERFACE_MODE_CAUI4,
        PHY_INTERFACE_MODE_NONE,        /* Must be last */
 
        PHY_INTERFACE_MODE_COUNT,
@@ -50,6 +54,10 @@ static const char * const phy_interface_strings[] = {
        [PHY_INTERFACE_MODE_RXAUI]              = "rxaui",
        [PHY_INTERFACE_MODE_SFI]                = "sfi",
        [PHY_INTERFACE_MODE_INTERNAL]           = "internal",
+       [PHY_INTERFACE_MODE_25G_AUI]            = "25g-aui",
+       [PHY_INTERFACE_MODE_XLAUI]              = "xlaui4",
+       [PHY_INTERFACE_MODE_CAUI2]              = "caui2",
+       [PHY_INTERFACE_MODE_CAUI4]              = "caui4",
        [PHY_INTERFACE_MODE_NONE]               = "",
 };