genphy_c45_...master_slave(9)
π genphy_c45_...master_slave π
okay so you found a genphy_c45 page in the Kernel API Manual and you're like "bestie what does this even do" β don't panic, we're getting through this together π«Ά
β¨ NAME β¨
genphy_c45_pma_baset1_read_master_slave β the one that reads your forced master/slave configuration π
like, that's literally it. it reads it. forced. master/slave. iconic behavior honestly.
πΈ SYNOPSIS πΈ
int genphy_c45_pma_baset1_read_master_slave (struct phy_device *phydev
);
note the return type: int. note the single argument. note the fact that this function name is doing the absolute most and we respect it π₯
π ARGUMENTS π
phydevβ the targetphy_devicestruct π¦ that's the whole thing. that's the argument. it's your phy device and it's the target and it's literally structphy_device. main character energy, no cap.
π SEE ALSO π
okay so this is the part where the manpage just starts listing everyone in the group chat π the kernel file is here:
./drivers/net/phy/phy-c45.c
and here's the full squad, in order, nobody left behind, periodt:
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_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_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 yes that's a lot of functions and yes I listed every single one because we don't do half-finished over here πβ¨
lowkey if you're reading this page and you only needed the master/slave read, you can dip now. the rest of the list is just... the rest of the list. iykyk π§
and that's the whole page bestie, no filler, all facts, we ate π
sign-off time: this little gem lives in ./drivers/net/phy, dated October 2026, and it's part of the Kernel API Manual β go off, king ππ
π¦ 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