stmmac_pci_probe(9)
π
stmmac_pci_probe(9) β your fave Kernel API Manual entry, bestie β¨
Okay so this is stmmac_pci_probe(9) from the Kernel API Manual, and it is giving βPCI probe but make it a whole momentβ π₯
π NAME π
stmmac_pci_probe β the original leaves the one-line description blank, and honestly? Mysterious. Iconic. No notes π
β¨ SYNOPSIS β¨
int stmmac_pci_probe (struct pci_dev *pdev , const struct pci_device_id
*id );
π ARGUMENTS π
pdevβ pci device pointer. Literally the device pointer bestie π«Άidβ pointer to table of device id/id's. The matchy-matchy list, periodt π
π₯ DESCRIPTION π₯
Okay so this probing function gets called for all PCI devices which match the ID table and are not βownedβ by other driver yet. It gets passed a struct pci_dev * for each device whose entry in the ID table matches the device.
The probe function returns zero when the driver chooses to take βownershipβ of the device, or an error code (-ve no) otherwise. That's the whole plot πβ¨
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/stmicro/stmmac/stmmac_pci.cπ stmmac_pci_remove(9)β the remove counterpart, iykyk π¦
And that's the cute lil sign-off: this is the Kernel API Manual, stmmac_pci_probe(9), source path ./drivers/net/ethernet/stmicro..., dated October 2026. Bye bestie, go be the main character of PCI probing πβ¨π
π¦ 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