of_pci_parse_bus_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– of_pci_parse_bus_range(9) πŸ’–

okay so bestie, this is straight out of the Kernel API Manual, and it's literally about parsing the bus-range property of a PCI device. no cap, it's giving β€œsmall but iconic helper function” energy ✨


🌸 NAME 🌸

of_pci_parse_bus_range β€” parse the bus-range property of a PCI device πŸŽ€


✨ SYNOPSIS ✨

int of_pci_parse_bus_range (struct device_node *node , struct resource *res );

πŸŽ€ ARGUMENTS πŸŽ€

  • node β€” device node πŸ¦‹
  • res β€” address to a struct resource to return the bus-range πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns 0 on success or a negative error-code on failure. that's it, that's the whole plot πŸ˜­πŸ‘‘


🌈 SEE ALSO 🌈

Kernel file ./drivers/pci/of.c β€” and the whole squad is here, fr fr:


mwah πŸ’– this lil page came from the ./drivers/pci source, dated October 2026, and it's literally of_pci_parse_bus_range(9). k byeee 🫢🌸

πŸ“¦ where this page comes from