The branch stable/14 has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8f8a0aadfa8d0176c0d2527973208850faf432d3

commit 8f8a0aadfa8d0176c0d2527973208850faf432d3
Author:     Bjoern A. Zeeb <[email protected]>
AuthorDate: 2025-09-04 20:22:30 +0000
Commit:     Bjoern A. Zeeb <[email protected]>
CommitDate: 2026-01-16 19:37:47 +0000

    LinuxKPI: pci: allow children to be attached to a pci_dev
    
    This will be used for hooking suspend/resume in for LinuxKPI 802.11
    based drivers.
    
    Sponsored by:   The FreeBSD Foundation (initially)
    Reviewed by:    dumbbell
    Differential Revision:  https://reviews.freebsd.org/D52070
    
    (cherry picked from commit 627234627b51c2f12c29d10617d7bbd18936ea55)
    (cherry picked from commit 8fca57469f7c33367c5f32f738a8fa8af40b6dda)
---
 sys/compat/linuxkpi/common/src/linux_pci.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/compat/linuxkpi/common/src/linux_pci.c 
b/sys/compat/linuxkpi/common/src/linux_pci.c
index deea5df06c4a..824f9a0118ae 100644
--- a/sys/compat/linuxkpi/common/src/linux_pci.c
+++ b/sys/compat/linuxkpi/common/src/linux_pci.c
@@ -112,6 +112,9 @@ static device_method_t pci_methods[] = {
        DEVMETHOD(pci_iov_uninit, linux_pci_iov_uninit),
        DEVMETHOD(pci_iov_add_vf, linux_pci_iov_add_vf),
 
+       /* Bus interface. */
+       DEVMETHOD(bus_add_child, bus_generic_add_child),
+
        /* backlight interface */
        DEVMETHOD(backlight_update_status, linux_backlight_update_status),
        DEVMETHOD(backlight_get_status, linux_backlight_get_status),

Reply via email to