intel_eth_pci_probe(9)
π intel_eth_pci_probe β Kernel API Manual, section 9
okay bestie, buckle up, we're reading a section 9 manpage together and honestly? she's short but she's got lore. this is intel_eth_pci_probe(9), straight out of the Kernel API Manual, and yes the title line is doing double duty as the header so let's just vibe with it. π
β¨ NAME β¨
intel_eth_pci_probe β and then... nothing. that's it. the description after the dash is literally empty. not me reading a NAME section that has no name-description π the manpage said "figure it out yourself" and honestly? respect. the function name is all we get, so hold onto it.
πΈ SYNOPSIS πΈ
int intel_eth_pci_probe (struct pci_dev *pdev , const struct pci_device_id *id );
she returns an int, she takes two pointers, she's booked and busy. that's the whole signature, no cap. β¨
π¦ ARGUMENTS π¦
pdevβ the pci device pointer. literally the device we're looking at, just handed to us. hi bestie πidβ pointer to the table of device id/id's. it's giving "here's the list of who you might be matching," and yes the original writesid/id'swith that little plural-of-plural situation. we love a quirky original. π
π DESCRIPTION π
okay so this is the probing function, and the vibe check here is that it gets called for all PCI devices which match the ID table and are not "owned" by another driver yet. key detail, do not skip it: not owned by anyone else. she does not do drama, she does not steal devices from other drivers. π«Ά
This function gets passed a struct pci_dev * for each device whose entry in the ID table matches the device. so like, per matching device, you get a shiny pointer and it's your moment.
The probe function returns zero when the driver chooses to take "ownership" of the device β zero is the slay, zero means "mine now, thanks" π β or an error code (-ve no, i.e. a negative number) otherwise. so if you see a negative number come back, that's a no, that's a decline, that's the driver saying "not today."
fr fr keep those two outcomes straight: zero = ownership taken, negative = error. the original spells it -ve no, which is 100% a real abbreviation people use and 0% a typo, so we're preserving it exactly as written. π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/stmicro/stmmac/dwmac-intel.cβ yes, stmicro in the path of an intel function, the manpage said what it said, we don't question the filesystem's choices π§ intel_eth_pci_remove(9)β the other half of the story, the removal era. read them as a pair, iykyk π
π the sign-off π
this absolute gem of a page is from the Kernel API Manual, and the footer credits the source as ./drivers/net/ethernet/stmicro... β truncated with dots in the original, so we're keeping the dots, bestie, that's canon β dated October 2026. yes, 2026. she's from the future and she's still only four sections long. iconic behavior, honestly. πβ¨
go forth and probe responsibly ππ
π¦ 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