genphy_c45_plca_get_cfg(9)
π genphy_c45_plca_get_cfg(9) β like, the Kernel API Manual, bestie β¨
okay so welcome to the genphy_c45_plca_get_cfg page, straight out of the Kernel API Manual π this is the little function that goes and gets your PLCA config, and honestly? she's giving quiet competence. no cap.
πΈ NAME πΈ
genphy_c45_plca_get_cfg β get the PLCA configuration from the standard registers π«Ά
β¨ SYNOPSIS β¨
int genphy_c45_plca_get_cfg (struct phy_device *phydev , struct
phy_plca_cfg *plca_cfg );
like, that's the whole vibe. two args, one int coming back at you π
π¦ ARGUMENTS π¦
phydevβ the targetphy_devicestruct π this is the PHY we're being nosy about.plca_cfgβ the output structure where the PLCA configuration gets stored π it's literally the lil basket you carry the answer home in.
π DESCRIPTION π
so here's the tea β if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, then you can use this function to retrieve the current PLCA configuration from the standard registers in MMD 31 β¨
that's it, that's the whole job. she reads the registers, she hands you the config, she slays π no extra drama, no side quests.
β οΈ quick vibe check: this is conditional, bestie β the "if the PHY complies" part is doing so much work in that sentence. non-compliant PHY? don't come crying to her π
π SEE ALSO π
the whole friend group π«Ά β Kernel file ./drivers/net/phy/phy-c45.c plus:
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_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_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 a lot of siblings but every one of them is iconic in her own right ππ
and that's the page, bestie π§ this lil gem lives in ./drivers/net/phy, dated October 2026, and the whole thing is filed under genphy_c45_plca_get_cfg(9) β mwah π periodt.
π¦ 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