Re: [U-Boot] [PATCH v2 2/5] net: phy: Add support for Marvell M88E1512
On Fri, Dec 9, 2016 at 7:43 AM, Stefan Roesewrote: > On 09.12.2016 14:38, Phil Edworthy wrote: >> >> This device also works with the 88E1518 code, so we just adjust >> the UID mask accordingly. >> >> Signed-off-by: Phil Edworthy >> --- >> v2: >> Don't add a new entry, just adjust the UID mask. Alright. I assume we will see what other IDs they come out with. Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v2 2/5] net: phy: Add support for Marvell M88E1512
On 09.12.2016 14:38, Phil Edworthy wrote: This device also works with the 88E1518 code, so we just adjust the UID mask accordingly. Signed-off-by: Phil Edworthy--- v2: Don't add a new entry, just adjust the UID mask. --- drivers/net/phy/marvell.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 95d1492..5adfe7d 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c @@ -585,10 +585,14 @@ static struct phy_driver M88E1510_driver = { .shutdown = _shutdown, }; +/* This supports: + * 88E1518, uid 0x1410dd1 + * 88E1512, uid 0x1410dd4 + */ Nitpicking comment: Please use this multiline comment style: /* * This supports: * 88E1518, uid 0x1410dd1 * 88E1512, uid 0x1410dd4 */ static struct phy_driver M88E1518_driver = { .name = "Marvell 88E1518", .uid = 0x1410dd1, - .mask = 0xfff, + .mask = 0xffb, .features = PHY_GBIT_FEATURES, .config = _config, .startup = _startup, Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH v2 2/5] net: phy: Add support for Marvell M88E1512
This device also works with the 88E1518 code, so we just adjust the UID mask accordingly. Signed-off-by: Phil Edworthy--- v2: Don't add a new entry, just adjust the UID mask. --- drivers/net/phy/marvell.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 95d1492..5adfe7d 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c @@ -585,10 +585,14 @@ static struct phy_driver M88E1510_driver = { .shutdown = _shutdown, }; +/* This supports: + * 88E1518, uid 0x1410dd1 + * 88E1512, uid 0x1410dd4 + */ static struct phy_driver M88E1518_driver = { .name = "Marvell 88E1518", .uid = 0x1410dd1, - .mask = 0xfff, + .mask = 0xffb, .features = PHY_GBIT_FEATURES, .config = _config, .startup = _startup, -- 2.7.4 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot