Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2021 17:26:11 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a5a6fd462c6c - stable/13 - dwmmc: Add bus_generic_add_child in the methods
Message-ID:  <202107221726.16MHQB1t005550@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

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

commit a5a6fd462c6cda8cd2e0a4015d67b1237c66c1b2
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-05-16 15:07:50 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-07-22 17:25:54 +0000

    dwmmc: Add bus_generic_add_child in the methods
    
    Otherwise sdiob cannot add it's children.
    
    Sponsored by:   Diablotin Systems
    Differential Revision:  https://reviews.freebsd.org/D30295
    
    (cherry picked from commit c99d887ca8c420297d2db335ce56075eb12443aa)
---
 sys/dev/mmc/host/dwmmc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c
index 7a5994680c53..22cbf647cfa0 100644
--- a/sys/dev/mmc/host/dwmmc.c
+++ b/sys/dev/mmc/host/dwmmc.c
@@ -1557,6 +1557,8 @@ static device_method_t dwmmc_methods[] = {
 	DEVMETHOD(mmc_sim_get_tran_settings,	dwmmc_get_tran_settings),
 	DEVMETHOD(mmc_sim_set_tran_settings,	dwmmc_set_tran_settings),
 	DEVMETHOD(mmc_sim_cam_request,		dwmmc_cam_request),
+
+	DEVMETHOD(bus_add_child,		bus_generic_add_child),
 #endif
 
 	DEVMETHOD_END



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