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:
83cfbeb
)
net: phy: Add support for Marvell M88E1512
author
Phil Edworthy
<
[email protected]
>
Mon, 12 Dec 2016 12:54:14 +0000
(12:54 +0000)
committer
Joe Hershberger
<
[email protected]
>
Tue, 7 Feb 2017 16:54:33 +0000
(10:54 -0600)
This device also works with the
88E1518
code, so we just adjust
the UID mask accordingly.
Signed-off-by: Phil Edworthy <
[email protected]
>
Acked-by: Joe Hershberger <
[email protected]
>
drivers/net/phy/marvell.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/marvell.c
b/drivers/net/phy/marvell.c
index ae870c592b679670933e869cb78fbb724d148715..e76a14b47a58d7160998a1f6525d92f384096126 100644
(file)
--- a/
drivers/net/phy/marvell.c
+++ b/
drivers/net/phy/marvell.c
@@
-603,10
+603,15
@@
static struct phy_driver M88E1510_driver = {
.shutdown = &genphy_shutdown,
};
+/*
+ * This supports:
+ * 88E1518, uid 0x1410dd1
+ * 88E1512, uid 0x1410dd4
+ */
static struct phy_driver M88E1518_driver = {
.name = "Marvell 88E1518",
- .uid = 0x1410dd
1
,
- .mask = 0xffffff
f
,
+ .uid = 0x1410dd
0
,
+ .mask = 0xffffff
a
,
.features = PHY_GBIT_FEATURES,
.config = &m88e1518_config,
.startup = &m88e1011s_startup,