summaryrefslogtreecommitdiff
path: root/scripts/dtc/dtc-parser.y
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2017-11-28 14:26:30 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-28 10:30:38 -0500
commit952b6b3b07877419386e719ff20917170e1ce684 (patch)
tree94d2da5a32aa21a96e15382afb317d57364b8fcb /scripts/dtc/dtc-parser.y
parentf40b55ab631325fb1822333f161077942033e338 (diff)
net: phy: marvell10g: fix the PHY id mask
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/dtc/dtc-parser.y')
0 files changed, 0 insertions, 0 deletions