Implement helpers for PCS accessed via the MII bus using 802.3 clause 22 cycles, conforming to 802.3 clause 37 and Cisco SGMII specifications for the advertisement word.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -317,4 +317,10 @@ int phylink_mii_ioctl(struct phylink *, struct ifreq *, int); · 316 unmodified lines | ||
| 317 | 317 | void phylink_set_port_modes(unsigned long *bits); |
| 318 | 318 | void phylink_helper_basex_speed(struct phylink_link_state *state); |
| 319 | 319 | |
| 320 | +void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs, | |
| 321 | + struct phylink_link_state *state); | |
| 322 | +int phylink_mii_c22_pcs_set_advertisement(struct mdio_device *pcs, | |
| 323 | + const struct phylink_link_state *state); | |
| 324 | +void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs); | |
| 325 | + | |
| 320 | 326 | #endif |