stmmac_pltfr_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… stmmac_pltfr_probe β€” a Kernel API Manual moment

okay so bestie, welcome to the stmmac_pltfr_probe(9) page, straight out of the Kernel API Manual ✨ this is the function that kicks off the whole platform-side probe party for the stmmac driver, and yes it's as niche as it sounds, but we're gonna understand it together 🫢


✨ NAME ✨

stmmac_pltfr_probe β€” and honestly? the original page leaves the description after the dash totally blank πŸ™ˆ so we're not gonna invent one. It's just… the name. Iconic, mysterious, no notes πŸ’…


🌸 SYNOPSIS 🌸

int stmmac_pltfr_probe (struct platform_device *pdev , struct
plat_stmmacenet_data *plat , struct stmmac_resources *res );

so it returns an int (iykyk, that's the classic kernel "0 or bust" situation) and it takes three things. let's meet them πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” the platform device pointer πŸ¦‹ like, the device we're probing, in pointer form.
  • plat β€” the driver data platform structure. yes it's called plat. yes it's the platform struct. we love a short name.
  • res β€” the stmmac resources structure. the resources!! the good stuff πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

okay so what does it actually do? literally this: it calls the platform's init callback and then probes the stmmac driver. that's the whole vibe. init callback gets called, stmmac gets probed, main character energy all around πŸ‘‘

no cap, that's the entire description in the original, so that's the entire description here too. short and slay ✨


🌈 SEE ALSO 🌈

first up, the file this whole thing lives in:

  • Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c πŸ“

and then the whole friend group of related functions, all of them, no skipping 🫢

like, the whole probe-to-remove lifecycle is right there. a little family reunion πŸ˜­πŸ’œ


ngl bestie, if you're poking at stmmac platform probing, read the friends above too β€” they're all in the same stmmac_platform.c neighborhood and they all come as (9) man pages 🧚

and that's the page!! πŸ“ cute little sign-off for you: this one's sourced from ./drivers/net/ethernet/stmicro... and dated October 2026, and the page itself is stmmac_pltfr_probe(9) β€” go probe something, bestie, and slay πŸ’…βœ¨

πŸ“¦ where this page comes from