fbnic_mdiobus_create(9)
π 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 π₯
0on 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
- 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