genphy_c45_a...master_slave(9)
π genphy_c45_an_setup_master_slave β the kernel API manual moment π
okay so bestie, welcome to the glow-up of genphy_c45_a...master_slave(9) from the Kernel API Manual β¨ this is the page where we sort out who's the boss of the 10GBASE-T link, and honestly? it's giving main character energy π
β¨ NAME β¨
genphy_c45_an_setup_master_slave β Configure Master/Slave setting for C45 PHYs π¦
πΈ SYNOPSIS πΈ
int genphy_c45_an_setup_master_slave (struct phy_device *phydev );
like, that's the whole vibe. one function, one arg, go off π
π ARGUMENTS π
phydevβ the targetphy_devicestruct π«Ά that's the PHY we're about to negotiate with, no cap
π₯ DESCRIPTION π₯
okay so here's the tea β β this one configures the forced or preferred Master/Slave role in the 10GBASE-T control register (that's MMD 7, Register 0x0020 for the nerds keeping score π§), all according to IEEE 802.3 standards. iconic behavior, honestly π
like, it's literally just deciding who wears the crown in the master/slave situation and doing it the standards-compliant way. periodt π
β RETURN β
- negative errno code on failure π β something went wrong, check your
errnobestie 0if Master/Slave didn't change β nothing to do, we stay as we were π1if Master/Slave modes changed β glow-up achieved, slay β¨
π SEE ALSO π
buckle up bestie, this list is LONG and we're not skipping a single one π the kernel file is ./drivers/net/phy/phy-c45.c and here's the whole squad:
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_an_disable_aneg(9)genphy_c45_restart_aneg(9)genphy_c45_check_and_restart_aneg(9)genphy_c45_pma_soft_reset(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)
like, that's the whole friend group π«Ά iykyk π
ngl this page lives in./drivers/net/phy, dropped October 2026, and its whole title isgenphy_c45_a...master_slave(9)in case you forgot where you were π«
okay bye bestie, go configure some PHYs and stay iconic π¦π β¨
π¦ 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