board_replaced(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– board_replaced(9) πŸ’–

okay so welcome to the Kernel API Manual side of the group chat, bestie 🫢 this one is about board_replaced β€” the function that gets called after a board has been replaced in the system. yes, the name is literally the whole vibe ✨

🌸 NAME 🌸

board_replaced β€” called after a board has been replaced in the system πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

u32 board_replaced (struct pci_func *func , struct controller *ctrl );

πŸŽ€ ARGUMENTS πŸŽ€

  • func β€” the PCI device/function information, all the deets 🫢
  • ctrl β€” the hotplug controller, main character energy πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

okay so here’s the tea: this is only used if we don’t have resources for hot add 😭 no cap. It turns power on for the board. Then it checks to see if board is the same. If board is same, it reconfigures it. If board isn’t same, it turns it back off. periodt πŸ’…

🌈 SEE ALSO 🌈

Kernel file: ./drivers/pci/hotplug/cpqphp_ctrl.c β€” that’s the spot, bestie πŸ‘‘


signing off from ./drivers/pci/hotplug, dated October 2026 β€” board_replaced(9) out, slay πŸ’…βœ¨

πŸ“¦ where this page comes from