axienet_mdio_teardown(9)
β¨ axienet_mdio_teardown β¨
okay so bestie, welcome to the Kernel API Manual π this is the page for axienet_mdio_teardown β aka the MDIO remove function. yes, the goodbye era. the cleanup arc. the "we had a good run but someone's gotta free the memory" moment π
πΈ NAME πΈ
axienet_mdio_teardown β the MDIO remove function, fr fr. it's the one that undoes the setup and lets the MDIO stuff go π
π¦ SYNOPSIS π¦
void axienet_mdio_teardown (struct axienet_local *lp);
like, that's the whole vibe. no return value, she just does the teardown and dips π
π ARGUMENTS π
lpβ pointer to the axienet local data structure. yes, thatstruct axienet_local. she needs it to know which MDIO situation to un-register π«Ά
π DESCRIPTION π
so here's the tea: this function unregisters the MDIO and frees any associate memory for mii bus β¨ that's it, that's the whole job. it's giving responsible main character energy β the setup happened, and now the teardown has to happen too, no cap π
ngl, "associate memory" is literally how the original words it β quoted with love, not a typo on my end π«‘
π SEE ALSO π
- the kernel file
./drivers/net/ethernet/xilinx/xilinx_axienet_mdio.cβ go read the source, iykyk π axienet_mdio_wait_until_ready(9)axienet_mdio_mdc_enable(9)axienet_mdio_mdc_disable(9)axienet_mdio_read(9)axienet_mdio_write(9)axienet_mdio_enable(9)axienet_mdio_setup(9)β the one that started it all tbh, teardown's origin story π
and that's the page!! π sourced from ./drivers/net/ethernet/xilinx, dated October 2026, filed under axienet_mdio_teardown(9) β mwah, go free that mii bus memory bestie, slay π§ββοΈβ
π¦ 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