yt8521_soft_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… yt8521_soft_reset (9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so you're in the Kernel API Manual and you found yt8521_soft_reset β€” the function that issues a PHY software reset on the Motorcomm driver. it's a whole vibe, very "hit restart on the hardware energy" ✨ let's get into it.


✨ NAME ✨

yt8521_soft_reset β€” literally the function you call to issue a PHY software reset 🫢


🌸 SYNOPSIS 🌸

int yt8521_soft_reset (struct phy_device *phydev );

that's it. that's the whole signature. short. iconic. slay πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phydev β€” a pointer to a struct phy_device. yeah. that's the one. give it a phy device and it's happy πŸŽ€

⭐ DESCRIPTION ⭐

the whole deal: it returns 0 or a negative errno code. no cap.

so like β€” 0 means we good, everything's fine, go off queen πŸ‘‘. anything negative is an errno code, meaning something went sideways and you should lowkey check it 😭. that's genuinely all the description says, so don't come for me, I'm just the messenger πŸ’€.

ngl this manpage is giving "minimalist". the description is one line. we respect the confidence tho πŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

first up, the source file itself, fr fr:

Kernel file ./drivers/net/phy/motorcomm.c

and now the whole friend group β€” every single one of these, no skipping, no cap 🫢:

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_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), 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 a lot of siblings, and every single one is invited to the party 🧚

quick note bestie: yt8521_soft_reset is a different function from yt8821_soft_reset β€” two whole separate entries, both up there in SEE ALSO. don't mix them up, i'm begging πŸ™ˆ

πŸ“ sign-off πŸ“

this page lives in the source tree at ./drivers/net/phy, and it's dated October 2026 β€” yeah, future-coded ⭐ go read the other yt8521 and yt8821 pages too, they're all in the same directory and they're all iconic. bye bestie, love you, drink water πŸ’–πŸŒˆπŸ’œ

πŸ“¦ where this page comes from