pcie_port_bus_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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