genphy_c45_...ad_abilities(9)
πΈ genphy_c45_pma_read_abilities(9) β Kernel API Manual πΈ
okay bestie, welcome to the Kernel API Manual π this one's a lil function called genphy_c45_pma_read_abilities(9) and honestly? she's a whole vibe check for your PHY. let's get into it β¨
β¨ NAME β¨
genphy_c45_pma_read_abilities β read supported link modes from PMA π
π¦ SYNOPSIS π¦
int genphy_c45_pma_read_abilities (struct phy_device *phydev );
π ARGUMENTS π
phydevβ your targetphy_devicestruct, the main character of this whole operation π
π₯ DESCRIPTION π₯
so here's the tea β this function reads the supported link modes out of the PMA Status 2 register, aka 1.8 β iconic address, iykyk.
if bit 1.8.9 is set, then the list of supported modes gets built using the values sitting in the PMA Extended Abilities register, that's 1.11 β which is giving 1000BASET and 10G related modes fr fr.
and if bit 1.11.14 is also set? then the list gets further extended with the modes from the 2.5G/5G PMA Extended register, 1.21 π β which tells you whether 2.5GBASET and 5GBASET are supported. slay.
π SEE ALSO π
no cap, this function has a massive friend group. the kernel file lives at ./drivers/net/phy/phy-c45.c, and these are all her besties π«Ά
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_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)
and that's the whole page bestie π sign-off time: this lil icon comes to you from ./drivers/net/phy, dated October 2026, and it's literally the genphy_c45_...ad_abilities(9) page itself β 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