fbnic_mdiobus_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fbnic_mdiobus_create β€” kernel API manual, section 9, bestie πŸ’–

okay so real quick, this whole page lives in the Kernel API Manual (section 9, the kernel-functions girlies) and it's about fbnic_mdiobus_create(9) β€” yes that's the whole name, no cap. sit down, hydrate, let's go 🫢


✨ NAME ✨

fbnic_mdiobus_create β€” literally creates an MDIO bus so you can interface w/ PHYs. that's it, that's the vibe. πŸ’…


🌸 SYNOPSIS 🌸

int fbnic_mdiobus_create (struct fbnic_dev *fbd);

πŸŽ€ ARGUMENTS πŸŽ€

  • fbd β€” pointer to the FBNIC device structure that you wanna populate the bus on. it's the main character of this whole function, lowkey. πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so what this does is initialize an MDIO bus and then place a pointer to it on the fbd struct. like, it sets it up and pins it right there on the struct so you can find it later. 🧚

and that bus? it's the one you'll be using to interface with the PMA/PMD and PCS. iconic. that's its whole job. ✨


πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸ’–
  • negative on failure 😭 (yeah, negative β€” not a happy number, that's the failure vibe)

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/ethernet/meta/fbnic/fbnic_mdio.c β€” go read it, iykyk πŸ“–βœ¨

fr fr, this one's short but she ate. no notes. πŸ’…

okay bestie that's the whole page!! source & version vibes: this manual page comes to you from ./drivers/net/ethernet/meta/fbnic, dated October 2026 β€” mwah, go forth and interface with those PHYs. πŸ“πŸ’œπŸŒŸ

πŸ“¦ where this page comes from