Re: [PATCH net] net: phy: marvell10g: fix the PHY id mask

From: David Miller
Date: Tue Nov 28 2017 - 10:31:08 EST


From: Antoine Tenart <antoine.tenart@xxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Nov 2017 14:26:30 +0100

> The Marvell 10G PHY driver supports different hardware revisions, which
> have their bits 3..0 differing. To get the correct revision number these
> bits should be ignored. This patch fixes this by using the already
> defined MARVELL_PHY_ID_MASK (0xfffffff0) instead of the custom
> 0xffffffff mask.
>
> Fixes: 20b2af32ff3f ("net: phy: add Marvell Alaska X 88X3310 10Gigabit PHY support")
> Suggested-by: Yan Markman <ymarkman@xxxxxxxxxxx>
> Signed-off-by: Antoine Tenart <antoine.tenart@xxxxxxxxxxxxxxxxxx>

Applied.