Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2024 07:19:35 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d7c69a344864 - main - sdhci: add missing bus_add_child DEVMETHOD.
Message-ID:  <202412200719.4BK7JZ3c074163@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

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

commit d7c69a344864be6dd0ed46bf64732c7062e874e9
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2024-12-18 21:31:52 +0000
Commit:     Bjoern A. Zeeb <bz@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),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412200719.4BK7JZ3c074163>