axienet_mdio_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ”₯

  • 0 on success β€” slay πŸ’…βœ¨
  • -ETIMEDOUT on a timeout β€” not the vibe, but okay 😭
  • -EOVERFLOW on 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 ⭐

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