stmmac_probe_config_dt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… stmmac_probe_config_dt(9) β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so picture this: you're deep in the Kernel API Manual and you stumble on stmmac_probe_config_dt. Don't panic. She's actually iconic once you know her. Let's get into it ✨


🌸 NAME 🌸

stmmac_probe_config_dt β€” the girl who parses device-tree driver parameters. no cap, that's literally her whole job πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct plat_stmmacenet_data * stmmac_probe_config_dt (struct
       platform_device *pdev , u8 *mac );

like look at that signature. she returns a struct plat_stmmacenet_data * and she's not sorry about it πŸ”₯


πŸ“ ARGUMENTS πŸ“

  • pdev β€” the platform_device structure. your platform device, your main character. she needs it, hand it over 🫢
  • mac β€” the MAC address to use. yes, that MAC address. u8 *mac, bestie, keep up 😭

πŸ’– DESCRIPTION πŸ’–

so what does she do? this function reads the driver parameters from device-tree and sets some private fields that will be used by the main at runtime. that's it. that's the whole vibe. she's the setup friend who quietly makes everything else work later, and honestly? we stan a lowkey legend πŸ‘‘


🌈 SEE ALSO 🌈

the whole friend group, fr fr β€” they're all in the Kernel file ./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c, and you're gonna want to know them:

and yes, devm_stmmac_probe_config_dt(9) and stmmac_probe_config_dt(9) are different girlies. don't mix them up at the function-call party πŸ™ˆ

okay that's the page!! mwah πŸ’‹ this one came straight out of ./drivers/net/ethernet/stmicro/..., dated October 2026, and yeah the footer still says stmmac_probe_config_dt(9) because she's that girl. go read some kernel source bestie, ily πŸ§šπŸ’œ

πŸ“¦ where this page comes from