edac_pci_create_generic_ctl(9)
π edac_pci_create_generic_ctl(9) π
okay bestie, welcome to the Kernel API Manual corner of the group chat π«Ά. We're talking about edac_pci_create_generic_ctl(9), and yes, the title is already giving βlong function name, main character energyβ π
.
πΈ NAME πΈ
edac_pci_create_generic_ctl β the original NAME blurb is literally blank, so no invented lore here, bestie π. It's just the function name and the manual-page hyphen. Iconic minimalism, lowkey.
β¨ SYNOPSIS β¨
struct edac_pci_ctl_info * edac_pci_create_generic_ctl (struct device
*dev , const char *mod_name );
π ARGUMENTS π
devβ pointer tostruct device;mod_nameβ name of the PCI device
π¦ DESCRIPTION π¦
So this is a generic constructor for a PCI parity polling device β¨. Some systems have more than one domain of PCI busses β not me being dramatic, that's the manual. For systems with one domain, then this API will provide for a generic poller π«Ά.
This routine calls the edac_pci_alloc_ctl_info for the generic device, with default values. Defaults? We love a no-fuss setup, periodt π
.
π RETURN π
Pointer to struct edac_pci_ctl_info on success, NULL on failure. That's it, that's the vibe check: pointer = slay, NULL = not slay π.
β SEE ALSO β
Kernel file: ./drivers/edac/edac_pci.h β yes, the header is right there, bestie π.
edac_pci_alloc_ctl_info(9)edac_pci_free_ctl_info(9)edac_pci_alloc_index(9)edac_pci_add_device(9)edac_pci_del_device(9)edac_pci_release_generic_ctl(9)edac_pci_create_sysfs(9)edac_pci_remove_sysfs(9)
mwah π cute sign-off time: this page's source/version is ./drivers/edac, dated October 2026, and it's all for edac_pci_create_generic_ctl(9). Byeee π§π.
π¦ 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