]> 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)
commitdf3269b6584e7f9ef64036a73f464f4c59402ad1
treed34558b1116fa4b982d31b48c9493d65dda66b40
parent3a49ee2c93b2d849173b769d79cb39f668c274cf
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