]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell10g: Use a #define for 88X3310 family id
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 22 Feb 2019 23:37:41 +0000 (00:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 01:45:25 +0000 (17:45 -0800)
commit631ba9063b446800e96debb41ad45eba85f880a8
treed34558b1116fa4b982d31b48c9493d65dda66b40
parente555e5b1b9aeec679eecb228fa9a36c070c57cbb
net: phy: marvell10g: Use a #define for 88X3310 family id

The PHY ID corresponding to the 88X3310 is also used for other PHYs in
the same family, such as the 88E2010. Use a #define for the PHY id, that
ignores the last nibble.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c
include/linux/marvell_phy.h