zpci_scan_configured_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… zpci_scan_configured_device(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this one is all about scanning a freshly configured zpci_dev, and yes it is giving low-level PCI energy ✨


🌸 NAME 🌸

zpci_scan_configured_device β€” scan a freshly configured zpci_dev 🫢


πŸ› οΈ SYNOPSIS πŸ› οΈ

int zpci_scan_configured_device (struct zpci_dev *zdev , u32 fh );

πŸŽ€ ARGUMENTS πŸŽ€

  • zdev β€” the zpci_dev to be configured, aka the main character of this function πŸ’–
  • fh β€” the general function handle supplied by the platform 🌟

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: given a device in the configuration state Configured, this function enables it, scans it, and adds it to the common code PCI subsystem if possible. slay πŸ’…

but bestie, listen β€” if any failure occurs, the zpci_dev is left disabled. no cap, that part matters 😭

fr fr: failure means the device stays disabled, so don’t expect it to magically show up all enabled and iconic.

⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • or an error code otherwise πŸ™ˆ

🧚 SEE ALSO 🧚

Kernel file ./arch/s390/pci/pci.c plus these absolute icons πŸ‘‘


and that’s the whole vibe check, bestie 🫢 this page lives under source/version ./arch/s390/pci and is dated October 2026 β€” signed, sealed, slayed πŸ’‹πŸ‘‘

πŸ“¦ where this page comes from