projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98017a1
)
net: include/phy.h: add new mode for internal phy
author
Kunihiko Hayashi
<hayashi.kunihiko@socionext.com>
Fri, 18 May 2018 02:12:04 +0000
(11:12 +0900)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Wed, 13 Jun 2018 18:54:16 +0000
(13:54 -0500)
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>
include/phy.h
patch
|
blob
|
history
diff --git
a/include/phy.h
b/include/phy.h
index e8f10ab3d23f8df1fc77d643899324598de5ead6..7c3fc5ce40cce94f21ad79da6a8ebcc1e6f84fe8 100644
(file)
--- 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] = "",
};