axienet_mdio_enable(9)
π axienet_mdio_enable(9) β the MDIO glow-up function β¨
okay so this is a page from the Kernel API Manual, bestie, and it's literally all about axienet_mdio_enable β the MDIO hardware setup function π
πΈ NAME πΈ
axienet_mdio_enable β the MDIO hardware setup function, no cap π
β¨ SYNOPSIS β¨
int axienet_mdio_enable (struct axienet_local *lp , struct device_node
*np );
that's the whole vibe right there π¦
π«Ά ARGUMENTS π«Ά
lpβ pointer to the axienet local data structure. it's giving "the main character struct" ngl πnpβ pointer to the mdio device tree node π³
π₯ RETURN π₯
0on success β slay π β¨-ETIMEDOUTon a timeout β not the vibe, but okay π-EOVERFLOWon a clock divisor overflow β clock said "too much" π
π DESCRIPTION π
so what it does: it sets up the MDIO interface by initializing the MDIO clock and enabling the MDIO interface in hardware π§β¨ two steps, one function, iconic behaviour fr fr π
β SEE ALSO β
- Kernel file
./drivers/net/ethernet/xilinx/xilinx_axienet_mdio.cπ axienet_mdio_wait_until_ready(9)β the "are we there yet" one πaxienet_mdio_mdc_enable(9)axienet_mdio_mdc_disable(9)axienet_mdio_read(9)axienet_mdio_write(9)axienet_mdio_setup(9)axienet_mdio_teardown(9)
the whole friend group, together, as they should be π«Άπ
ok that's the page!! source/version lives at ./drivers/net/ethernet/xilinx and the date on this baddie is October 2026 β so mark your calendars, bestie ποΈπ
bye!! ππ
π¦ 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