genphy_c45_an_disable_aneg(9)
π genphy_c45_an_disable_aneg β from the Kernel API Manual, bestie
okay so real talk, this one lives in the Kernel API Manual and it's genuinely so straightforward you'll be done before your iced coffee melts π§
β¨ NAME β¨
genphy_c45_an_disable_aneg β the function that turns off auto-negotiation. that's it. that's the whole gig. she's a one-job icon π
π SYNOPSIS π
int genphy_c45_an_disable_aneg (struct phy_device *phydev );
yep, that's the whole signature. int going in (well, coming out), struct pointer going in. gorgeous. no notes π
πΈ ARGUMENTS πΈ
phydevβ your targetstruct phy_device. like, the PHY device you're about to boss around. this is the one she's disabling auto-negotiation on π―
π¦ DESCRIPTION π¦
so here's the tea, bestie β β this function disables auto-negotiation in the Clause 45 PHY. the link parameters? they don't get to do their own little negotiation dance anymore, they're controlled through the PMA/PMD MMD registers. very much "we're doing this my way now" energy π
and the return values, quick vibe check:
- returns zero on success π
- returns a negative errno code on failure π
that's it! that's the whole description. zero drama, all facts, and honestly? we love a function that knows exactly what it is β¨
π SEE ALSO π
okay this list is long and she is thriving for it β look at all her friends, a whole friend group of Clause 45 girlies π«Ά
genphy_c45_baset1_able(9)genphy_c45_pma_can_sleep(9)genphy_c45_pma_resume(9)genphy_c45_pma_suspend(9)genphy_c45_pma_baset1_setup_master_slave(9)genphy_c45_pma_setup_forced(9)genphy_c45_an_config_aneg(9)genphy_c45_restart_aneg(9)genphy_c45_check_and_restart_aneg(9)genphy_c45_pma_soft_reset(9)genphy_c45_an_setup_master_slave(9)genphy_c45_read_master_slave(9)genphy_c45_aneg_done(9)genphy_c45_read_link(9)genphy_c45_read_lpa(9)genphy_c45_pma_baset1_read_master_slave(9)genphy_c45_read_pma(9)genphy_c45_read_mdix(9)genphy_c45_write_eee_adv(9)genphy_c45_read_eee_adv(9)genphy_c45_read_eee_lpa(9)genphy_c45_read_eee_cap1(9)genphy_c45_read_eee_cap2(9)genphy_c45_read_eee_abilities(9)genphy_c45_an_config_eee_aneg(9)genphy_c45_pma_baset1_read_abilities(9)genphy_c45_pma_read_ext_abilities(9)genphy_c45_pma_read_abilities(9)genphy_c45_read_status(9)genphy_c45_config_aneg(9)genphy_c45_fast_retrain(9)genphy_c45_plca_get_cfg(9)genphy_c45_plca_set_cfg(9)genphy_c45_plca_get_status(9)genphy_c45_eee_is_active(9)genphy_c45_ethtool_get_eee(9)genphy_c45_ethtool_set_eee(9)oatc14_cable_test_get_result_code(9)genphy_c45_oatc14_cable_test_get_status(9)genphy_c45_oatc14_cable_test_start(9)oatc14_update_sqi_capability(9)genphy_c45_oatc14_get_sqi_max(9)genphy_c45_oatc14_get_sqi(9)
ngl the cable-test and SQI girlies at the bottom ate β they showed up at the end of the list and still served π
they all hang out in the kernel file ./drivers/net/phy/phy-c45.c if you wanna go say hi iykyk π
and that's the whole page, bestie!! π this one's filed under ./drivers/net/phy, dated October 2026, and it's page genphy_c45_an_disable_aneg(9) of the Kernel API Manual β go forth and disable some auto-negotiation, you've got this fr fr πβ¨π₯
π¦ 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