mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-21 04:54:24 +07:00
net: phy: mscc: the extended page access register is 16 bits
The Extended Page Access is a 16-bit register, so change the page parameter of vsc85xx_phy_page_set to a u16. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ad13acce8d
commit
86ff73622a
@ -123,7 +123,7 @@ static const struct vsc8531_edge_rate_table edge_table[] = {
|
||||
};
|
||||
#endif /* CONFIG_OF_MDIO */
|
||||
|
||||
static int vsc85xx_phy_page_set(struct phy_device *phydev, u8 page)
|
||||
static int vsc85xx_phy_page_set(struct phy_device *phydev, u16 page)
|
||||
{
|
||||
int rc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user