pci_ea_fixed_busnrs(9)
π NAME π
okay bestie, this is pci_ea_fixed_busnrs from the Kernel API Manual β¨ β and it does exactly this: Read fixed Secondary and Subordinate bus numbers from EA capability. π
πΈ SYNOPSIS πΈ
signature first, no cap:
bool pci_ea_fixed_busnrs (struct pci_dev *dev , u8 *sec , u8 *sub );
π ARGUMENTS π
devβ the Bridge πsecβ updated with secondary bus number from EA β¨subβ updated with subordinate bus number from EA π
π¦ DESCRIPTION π¦
So like, if dev is a bridge with EA capability that specifies valid secondary and subordinate bus numbers, return true with the bus numbers in sec and sub. π«Ά
Otherwise? return false. That's the vibe check. π
π SEE ALSO π
Kernel file ./drivers/pci/probe.c and the whole squad:
__pci_size_bars(9)__pci_read_base(9)pcie_get_link_speed(9)pci_ext_cfg_is_aliased(9)pci_cfg_space_size_ext(9)pci_intx_mask_broken(9)pci_setup_device(9)pcie_relaxed_ordering_enabled(9)pci_release_dev(9)pci_scan_slot(9)pci_scan_child_bus_extend(9)pci_scan_child_bus(9)pcibios_root_bridge_prepare(9)pci_rescan_bus_bridge_resize(9)pci_rescan_bus(9)
π«Ά made with love from./drivers/pci, dated October 2026, and signedpci_ea_fixed_busnrs(9)β periodt. π β¨
π¦ 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