stmmac_probe_config_dt(9)
π 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β theplatform_devicestructure. 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:
dwmac1000_validate_mcast_bins(9)dwmac1000_validate_ucast_entries(9)stmmac_axi_setup(9)stmmac_mtl_setup(9)stmmac_of_get_mdio(9)stmmac_mdio_setup(9)stmmac_of_get_mac_mode(9)devm_stmmac_probe_config_dt(9)stmmac_pltfr_get_irq_array(9)stmmac_pltfr_init(9)stmmac_pltfr_exit(9)stmmac_pltfr_probe(9)devm_stmmac_pltfr_probe(9)stmmac_pltfr_remove(9)
and yes,devm_stmmac_probe_config_dt(9)andstmmac_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
- 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