pcie_port_bus_remove(9)
π pcie_port_bus_remove(9) β¨
okay so this is a page from the Kernel API Manual, bestie β and it's literally about detaching a driver from a PCI Express port service device. tiny function, big responsibilities. let's get into it π«Ά
β¨ NAME β¨
pcie_port_bus_remove β detach driver from given PCI Express port service π
πΈ SYNOPSIS πΈ
void pcie_port_bus_remove (struct device *dev );
π ARGUMENTS π
devβ the PCI Express port service device we're handling π¦ (like, this is the one being dealt with, ok?)
π DESCRIPTION π
so here's the vibe: if a PCI Express port service driver is registered with pcie_port_service_register, then this function is gonna get called by the driver core β¨ β specifically when device_unregister is called for the port service device that's associated with that driver. no cap, that's the whole flow π«
π₯ SEE ALSO π₯
kernel file ./drivers/pci/pcie/portdrv.c (iykyk π), plus the whole bestie squad:
release_pcie_device(9)pcie_port_enable_irq_vec(9)pcie_init_service_irqs(9)get_port_device_capability(9)pcie_device_init(9)pcie_port_device_register(9)pcie_port_device_suspend(9)pcie_port_device_resume(9)pcie_port_device_runtime_suspend(9)pcie_port_device_runtime_resume(9)pcie_port_find_device(9)pcie_port_device_remove(9)pcie_port_bus_probe(9)pcie_port_service_register(9)pcie_port_service_unregister(9)
aaaand that's the whole page, periodt π this one came straight outta ./drivers/pci/pcie, dated October 2026, and it's pcie_port_bus_remove(9) signing off β slay, go read your kernel source bestie π§ββοΈβ
π¦ 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