genphy_c45_read_mdix(9)
π genphy_c45_read_mdix: it reads the mdix status from PMA, bestie
okay so this is a page from the Kernel API Manual, and honestly? it's a little one, but she's got range. the function is genphy_c45_read_mdix β say it with me β and her whole entire job is reading the MDIX status out of PMA. that's it. that's the gig. no cap. π
β¨ NAME β¨
genphy_c45_read_mdix β literally just "read mdix status from PMA" π¦
so yeah, if you ever wondered "hiii, what's my MDIX status, and is it, like, in PMA?" β this is the girl you call. she'll go look and report back. iconic behavior honestly β¨
πΈ SYNOPSIS πΈ
int genphy_c45_read_mdix (struct phy_device *phydev );
look at her. one argument. she's low-maintenance, she's not asking for much, she's just a function that returns an int and needs a pointer. we love a simple queen π
π ARGUMENTS π
phydevβ the targetphy_devicestruct. that's it, that's the whole argument. she needs aphy_devicepointer to know which phy to poke at, so hand her a valid one and she's happy π«Ά
π₯ SEE ALSO π₯
okay this is the part where she tags all her friends and omg it's a lot of friends. she is connected, she knows everyone, she is the main character of ./drivers/net/phy/phy-c45.c β here's the full group chat in order, no one gets left out, 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_pma_baset1_read_master_slave(9)genphy_c45_read_pma(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, she truly said "I have a big family and I love them all" ππ
heads up bestie: this one lives in the kernel file ./drivers/net/phy/phy-c45.c β that's where you'll find her irl π§
and that's the whole vibe! she's short, she's sweet, she reads MDIX status from PMA, and she returns an int about it. slay π
that's a wrap, babe π this little page is from the Kernel API Manual, hanging out under ./drivers/net/phy, dated October 2026, and she is still genphy_c45_read_mdix(9) β same name, same manual, forever 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