yt8521_aneg_done(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ yt8521_aneg_done(9) β€” the Kernel API Manual glow-up ✨

okay so bestie, we're in the Kernel API Manual today and the star of the show is yt8521_aneg_done β€” yes that's the whole function name, say it with your chest πŸ’… this one's from yt8521_aneg_done(9) and it's giving "tiny function, big responsibilities."


🌸 NAME 🌸

yt8521_aneg_done β€” literally just tells you how the auto negotiation went down. that's it. that's the gig πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int yt8521_aneg_done (struct phy_device *phydev );

no cap, that's the whole signature. short and iconic πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • phydev β€” a pointer to a struct phy_device. yes bestie, a pointer β€” it's the phy device we're checking on, pls do not pass it garbage πŸ™ˆ

⭐ DESCRIPTION ⭐

so what does it actually return? buckle up, there's three whole moods 😭:

  • returns 0 β€” meaning no link πŸ₯²
  • returns 1 β€” meaning there is a link, specifically fiber or utp link πŸ”₯
  • or it returns a negative errno code β€” yeah, things went sideways, that's the "it's giving error" branch πŸ’€

fr fr, that's the entire description. no extra lore, no secret bonus features, i checked 🫢


🧚 SEE ALSO 🧚

bestie this list is LONG, like, main-character-long, so here we go β€” all of it, in order, no skips πŸ‘‘:

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), yt8521_fiber_config_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), 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)

iykyk β€” that's the whole family tree right there 🌈


and that's the page, bestie!! 🫢 this little cutie lives in ./drivers/net/phy and the version we're looking at is dated October 2026 β€” so yeah, notes from the future, you're welcome πŸ’œβœ¨

πŸ“¦ where this page comes from