lkml.org 
[lkml]   [2017]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net] net: phy: marvell10g: fix the PHY id mask
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@marvell.com>
> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Andrew

\
 
 \ /
  Last update: 2017-11-28 14:44    [W:2.078 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site