The branch main has been updated by bz:

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

commit d7c69a344864be6dd0ed46bf64732c7062e874e9
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2024-12-18 21:31:52 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2024-12-20 07:18:54 +0000

    sdhci: add missing bus_add_child DEVMETHOD.
    
    Add the missing bus_add_child DEVMETHOD.  This is needed for the RPi5
    running with a MMCCAM kernel and the worproject/rpi5-uefi to avoid a
    kernel panic on boot when SDIO tries to attach to a 'Intel Bay Trail'
    controller.
    
    Reviewed by:    imp
    MFC after:      3 days
    Differential Revision: https://reviews.freebsd.org/D48152
---
 sys/dev/sdhci/sdhci_acpi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/sdhci/sdhci_acpi.c b/sys/dev/sdhci/sdhci_acpi.c
index 7ec85a5a4839..75b7e98ea970 100644
--- a/sys/dev/sdhci/sdhci_acpi.c
+++ b/sys/dev/sdhci/sdhci_acpi.c
@@ -420,6 +420,7 @@ static device_method_t sdhci_methods[] = {
        /* Bus interface */
        DEVMETHOD(bus_read_ivar,        sdhci_generic_read_ivar),
        DEVMETHOD(bus_write_ivar,       sdhci_generic_write_ivar),
+       DEVMETHOD(bus_add_child,        bus_generic_add_child),
 
        /* mmcbr_if */
        DEVMETHOD(mmcbr_update_ios,     sdhci_generic_update_ios),

Reply via email to