diff options
| author | Stefan Roese <[email protected]> | 2017-02-23 11:58:26 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2017-03-29 07:42:55 +0200 |
| commit | d11e9347461cff9ce89e6e65764f73fad0f19c6f (patch) | |
| tree | f7d0b6b83a2a602f1e1e8896ac0681baae9e8dbd /include | |
| parent | ff572c6d530387868ad7c03158a322ecfd9a7768 (diff) | |
net: include/phy.h: Add new PHY interface modes
This patch adds the new PHY interface modes XAUI, RXAUI and SFI that will
be used by the PPv2.2 support in the Marvell mvpp2 ethernet driver.
Signed-off-by: Stefan Roese <[email protected]>
Cc: Stefan Chulski <[email protected]>
Cc: Kostya Porotchkin <[email protected]>
Cc: Nadav Haklai <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/phy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h index 5477496e0e4..8e507cd7a68 100644 --- a/include/phy.h +++ b/include/phy.h @@ -61,6 +61,9 @@ typedef enum { PHY_INTERFACE_MODE_RGMII_TXID, PHY_INTERFACE_MODE_RTBI, PHY_INTERFACE_MODE_XGMII, + PHY_INTERFACE_MODE_XAUI, + PHY_INTERFACE_MODE_RXAUI, + PHY_INTERFACE_MODE_SFI, PHY_INTERFACE_MODE_NONE, /* Must be last */ PHY_INTERFACE_MODE_COUNT, @@ -80,6 +83,9 @@ static const char *phy_interface_strings[] = { [PHY_INTERFACE_MODE_RGMII_TXID] = "rgmii-txid", [PHY_INTERFACE_MODE_RTBI] = "rtbi", [PHY_INTERFACE_MODE_XGMII] = "xgmii", + [PHY_INTERFACE_MODE_XAUI] = "xaui", + [PHY_INTERFACE_MODE_RXAUI] = "rxaui", + [PHY_INTERFACE_MODE_SFI] = "sfi", [PHY_INTERFACE_MODE_NONE] = "", }; |
