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

From: Andrew Lunn
Date: Tue Nov 28 2017 - 08:44:21 EST


On Tue, Nov 28, 2017 at 02:26:30PM +0100, Antoine Tenart wrote:
> 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>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew