diff options
| author | 2018-03-22 11:41:08 -0400 | |
|---|---|---|
| committer | 2018-03-22 11:41:08 -0400 | |
| commit | 3d21ac6fe92d8dc1040c2d8f4f0a70cab9728f06 (patch) | |
| tree | 301798f110123a76a5eb64a45e70315ead247981 /include/linux | |
| parent | Merge tag 'batadv-net-for-davem-20180319' of git://git.open-mesh.org/linux-merge (diff) | |
| parent | net: phy: micrel: Use the general dummy stubs for MMD register access (diff) | |
Merge branch 'net-phy-Add-general-dummy-stubs-for-MMD-register-access'
Kevin Hao says:
====================
net: phy: Add general dummy stubs for MMD register access
v2:
As suggested by Andrew:
- Add general dummy stubs
- Also use that for the micrel phy
This patch series fix the Ethernet broken on the mpc8315erdb board introduced
by commit b6b5e8a69118 ("gianfar: Disable EEE autoneg by default").
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/phy.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index b260fb336b25..7c4c2379e010 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -984,6 +984,10 @@ static inline int genphy_no_soft_reset(struct phy_device *phydev) { return 0; } +int genphy_read_mmd_unsupported(struct phy_device *phdev, int devad, + u16 regnum); +int genphy_write_mmd_unsupported(struct phy_device *phdev, int devnum, + u16 regnum, u16 val); /* Clause 45 PHY */ int genphy_c45_restart_aneg(struct phy_device *phydev); |
