diff mbox series

[v2] net: include/phy.h: add new mode for internal phy

Message ID 1526609524-30418-1-git-send-email-hayashi.kunihiko@socionext.com
State Accepted
Commit ff114e0f76b6f0937890ba72859acfb40afee329
Headers show
Series [v2] net: include/phy.h: add new mode for internal phy | expand

Commit Message

Kunihiko Hayashi May 18, 2018, 2:12 a.m. UTC
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>
---

Changes since v1:
- add Reviewed-by and Acked-by tags

include/phy.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Joe Hershberger June 13, 2018, 7:01 p.m. UTC | #1
Hi Kunihiko,

https://patchwork.ozlabs.org/patch/915965/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git

Thanks!
-Joe
diff mbox series

Patch

diff --git a/include/phy.h b/include/phy.h
index 52bf997..3b34504 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]		= "",
 };