* [U-Boot] [PATCH] net: phy: added aquantia PHY AQR405 support
@ 2015-11-10 11:16 shh.xie at gmail.com
2015-11-10 20:16 ` Joe Hershberger
2015-11-30 17:19 ` York Sun
0 siblings, 2 replies; 3+ messages in thread
From: shh.xie at gmail.com @ 2015-11-10 11:16 UTC (permalink / raw)
To: u-boot
From: Shaohui Xie <Shaohui.Xie@freescale.com>
The phy can share driver with other aquantia PHYs, so we only added PHY
ID.
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
---
drivers/net/phy/aquantia.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c
index ef4da4e..f90c2ae 100644
--- a/drivers/net/phy/aquantia.c
+++ b/drivers/net/phy/aquantia.c
@@ -146,11 +146,26 @@ struct phy_driver aqr105_driver = {
.startup = &aquantia_startup,
.shutdown = &gen10g_shutdown,
};
+
+struct phy_driver aqr405_driver = {
+ .name = "Aquantia AQR405",
+ .uid = 0x3a1b4b2,
+ .mask = 0xfffffff0,
+ .features = PHY_10G_FEATURES,
+ .mmds = (MDIO_MMD_PMAPMD | MDIO_MMD_PCS|
+ MDIO_MMD_PHYXS | MDIO_MMD_AN |
+ MDIO_MMD_VEND1),
+ .config = &aquantia_config,
+ .startup = &aquantia_startup,
+ .shutdown = &gen10g_shutdown,
+};
+
int phy_aquantia_init(void)
{
phy_register(&aq1202_driver);
phy_register(&aq2104_driver);
phy_register(&aqr105_driver);
+ phy_register(&aqr405_driver);
return 0;
}
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] net: phy: added aquantia PHY AQR405 support
2015-11-10 11:16 [U-Boot] [PATCH] net: phy: added aquantia PHY AQR405 support shh.xie at gmail.com
@ 2015-11-10 20:16 ` Joe Hershberger
2015-11-30 17:19 ` York Sun
1 sibling, 0 replies; 3+ messages in thread
From: Joe Hershberger @ 2015-11-10 20:16 UTC (permalink / raw)
To: u-boot
On Tue, Nov 10, 2015 at 5:16 AM, <shh.xie@gmail.com> wrote:
> From: Shaohui Xie <Shaohui.Xie@freescale.com>
>
> The phy can share driver with other aquantia PHYs, so we only added PHY
> ID.
>
> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] net: phy: added aquantia PHY AQR405 support
2015-11-10 11:16 [U-Boot] [PATCH] net: phy: added aquantia PHY AQR405 support shh.xie at gmail.com
2015-11-10 20:16 ` Joe Hershberger
@ 2015-11-30 17:19 ` York Sun
1 sibling, 0 replies; 3+ messages in thread
From: York Sun @ 2015-11-30 17:19 UTC (permalink / raw)
To: u-boot
On 11/10/2015 03:16 AM, shh.xie at gmail.com wrote:
> From: Shaohui Xie <Shaohui.Xie@freescale.com>
>
> The phy can share driver with other aquantia PHYs, so we only added PHY
> ID.
>
> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
> ---
> drivers/net/phy/aquantia.c | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
Applied to fsl-qoriq master. Thanks.
York
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-30 17:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-10 11:16 [U-Boot] [PATCH] net: phy: added aquantia PHY AQR405 support shh.xie at gmail.com
2015-11-10 20:16 ` Joe Hershberger
2015-11-30 17:19 ` York Sun
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.