devm_stmmac_pltfr_probe(9)
π devm_stmmac_pltfr_probe
okay so bestie, welcome to the Kernel API Manual β yes this is a real manual page, and yes it's about a kernel function, don't panic, we're gonna get through it together π«Ά
β¨ NAME β¨
devm_stmmac_pltfr_probe β
so bestie. the name section is literally just vibes and a dash rn π the original page gives us the function name and then... nothing. a whole dash. a mystery. an empty description doing main character energy with zero lines. so that's what we're working with π₯ (no cap, that's genuinely all it says)
πΈ SYNOPSIS πΈ
int devm_stmmac_pltfr_probe (struct platform_device *pdev , struct
plat_stmmacenet_data *plat , struct stmmac_resources *res );
she's an int, she takes three pointers, she's living her best life π
π ARGUMENTS π
pdevβ pointer to the platform device. that's her little device bestie πplatβ driver data platform structure. this is where the platform-y driver data lives β¨resβ stmmac resources. the resources, iconic as always π
π¦ DESCRIPTION π¦
okay so here's the tea β this is the Devres variant of stmmac_pltfr_probe.
and what that means for you, gorgeous, is that it allows users to skip calling stmmac_pltfr_remove on driver detach π
that's the whole point. devres handles the cleanup, you simply do not have to think about it. slay. periodt.
π SEE ALSO π
bestie this list is LONG and honestly? obsessed. go read these when you're done here π§
- Kernel file
./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c 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)stmmac_probe_config_dt(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)stmmac_pltfr_remove(9)
like, look at all those (9)s. a whole squad. a friend group. iykyk π
ngl the source path is./drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c(the footer truncates it to./drivers/net/ethernet/stmicro...), it's dated October 2026, and the page is titleddevm_stmmac_pltfr_probe(9)β so if you forget where you are, that's the receipt π§Ύβ¨
and that's the page!! mwah π go call devm_stmmac_pltfr_probe responsibly, bestie ππ
π¦ 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