Skip to contentSkip to conversation

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

PATCH Superseded Kunihiko Hayashi 3 participants 3 messages May 11, 2018 – May 15, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/phy.h | 2 ++
 1 file changed, 2 insertions(+)
include/phy.h +2 -0
index 0543ec1..d0f60d1 100644
@@ -66,6 +66,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,
@@ -88,6 +89,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]		= "",
 };
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 net: include/phy.h: add new mode for internal phy

Quoted 2 lines · Kunihiko Hayashi

Add the new mode to indicate a built-in PHY. This will be used by UniPhier AVE ethernet driver.

Hi, Hayashi-san,

CC Joe on network stuff.

Quoted 26 lines
---
 include/phy.h | 2 ++
 1 file changed, 2 insertions(+)
include/phy.h +2 -0
index 0543ec1..d0f60d1 100644
@@ -66,6 +66,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,
@@ -88,6 +89,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]		= "",
 };
 
Signature · 2 lines
Best regards,
Marek Vasut