diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2018-05-18 11:12:04 +0900 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-06-13 13:54:16 -0500 |
commit | ff114e0f76b6f0937890ba72859acfb40afee329 (patch) | |
tree | 600cdbe2e1156c6a7410ab887833b2aa5cecf427 /include/phy.h | |
parent | 98017a1fb5c0add55249fa08f8982452a3ab31af (diff) | |
download | u-boot-ff114e0f76b6f0937890ba72859acfb40afee329.tar.gz |
net: include/phy.h: add new mode for internal phy
Add the new mode to indicate a built-in PHY.
This will be used by UniPhier AVE ethernet driver.
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/phy.h')
-rw-r--r-- | include/phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h index e8f10ab3d2..7c3fc5ce40 100644 --- a/include/phy.h +++ b/include/phy.h @@ -65,6 +65,7 @@ typedef enum { PHY_INTERFACE_MODE_XAUI, PHY_INTERFACE_MODE_RXAUI, PHY_INTERFACE_MODE_SFI, + PHY_INTERFACE_MODE_INTERNAL, PHY_INTERFACE_MODE_NONE, /* Must be last */ PHY_INTERFACE_MODE_COUNT, @@ -87,6 +88,7 @@ static const char *phy_interface_strings[] = { [PHY_INTERFACE_MODE_XAUI] = "xaui", [PHY_INTERFACE_MODE_RXAUI] = "rxaui", [PHY_INTERFACE_MODE_SFI] = "sfi", + [PHY_INTERFACE_MODE_INTERNAL] = "internal", [PHY_INTERFACE_MODE_NONE] = "", }; |