board_replaced(9)
π 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 π
cpqhp_find_slot(9)sort_by_size(9)sort_by_max_size(9)do_pre_bridge_resource_split(9)do_bridge_resource_split(9)get_io_resource(9)get_max_resource(9)get_resource(9)cpqhp_resource_sort_and_combine(9)cpqhp_slot_create(9)slot_remove(9)bridge_slot_remove(9)cpqhp_slot_find(9)set_controller_speed(9)board_added(9)remove_board(9)cpqhp_pushbutton_thread(9)switch_leds(9)cpqhp_hardware_test(9)configure_new_device(9)configure_new_function(9)
signing off from ./drivers/pci/hotplug, dated October 2026 β board_replaced(9) out, slay π
β¨
π¦ 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