yt8521_fiber_config_aneg(9)
π yt8521_fiber_config_aneg(9) π
okay so bestie, welcome to the Kernel API Manual entry for yt8521_fiber_config_aneg β and yes, that's the whole vibe, it's a kernel function with a name long enough to be a runway walk. grab a boba, we're doing this π§β¨
πΈ NAME πΈ
yt8521_fiber_config_aneg β restart auto-negotiation, or write YTPHY_MISC_CONFIG_REG.
no cap, those are the only two things on the menu. one job: kick off aneg again, or push something into YTPHY_MISC_CONFIG_REG. she's focused, she's got main character energy, she knows what she's about π
β¨ SYNOPSIS β¨
int yt8521_fiber_config_aneg (struct phy_device *phydev );
it's giving "small signature, big responsibility" honestly π«Ά
π ARGUMENTS π
phydevβ the targetphy_devicestruct. this is literally the whole argument list, she's low maintenance like that π
π¦ NOTE π¦
β οΈ okay this part matters, bestie, don't skip it β the caller must have taken the MDIO bus lock. that's a hard requirement, not a suggestion. no lock, no slay. periodt π
and the return value: it returns 0 or a negative errno code. so if you see a negative number, that's the universe telling you something went wrong π
π SEE ALSO π
she's got a huge friend group, iykyk. all of these live in the kernel file ./drivers/net/phy/motorcomm.c:
ytphy_read_ext(9)ytphy_read_ext_with_lock(9)ytphy_write_ext(9)ytphy_write_ext_with_lock(9)ytphy_modify_ext(9)ytphy_modify_ext_with_lock(9)ytphy_get_wol(9)ytphy_set_wol(9)yt8521_read_page(9)yt8521_write_page(9)struct ytphy_cfg_reg_map(9)struct ytphy_ldo_vol_map(9)yt8521_probe(9)ytphy_utp_read_lpa(9)yt8521_adjust_status(9)yt8521_read_status_paged(9)yt8521_read_status(9)yt8521_modify_bmcr_paged(9)yt8521_modify_utp_fiber_bmcr(9)yt8521_soft_reset(9)yt8521_suspend(9)yt8521_resume(9)yt8521_config_init(9)yt8531_link_change_notify(9)yt8521_prepare_fiber_features(9)yt8521_fiber_setup_forced(9)ytphy_check_and_restart_aneg(9)ytphy_setup_master_slave(9)ytphy_utp_config_advert(9)ytphy_utp_config_aneg(9)yt8521_config_aneg_paged(9)yt8521_config_aneg(9)yt8521_aneg_done_paged(9)yt8521_aneg_done(9)ytphy_utp_read_abilities(9)yt8521_get_features_paged(9)yt8521_get_features(9)yt8821_get_features(9)yt8821_get_rate_matching(9)yt8821_aneg_done(9)yt8821_serdes_init(9)yt8821_utp_init(9)yt8821_auto_sleep_config(9)yt8821_soft_reset(9)yt8821_config_init(9)yt8821_adjust_status(9)yt8821_update_interface(9)yt8821_read_status(9)yt8821_modify_utp_fiber_bmcr(9)yt8821_suspend(9)yt8821_resume(9)
like, that's the whole group chat right there, and every single one of them is invited π«Άπ
and that's the page!! mwah π before you go β this icon lives in ./drivers/net/phy, the manual is dated October 2026, and it's brought to you by the source/version line that says ./drivers/net/phy + October 2026 + yt8521_fiber_config_aneg(9) all cozy together. go forth and lock your MDIO bus, bestie πππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms