Page MenuHomeFreeBSD

sdhci: add missing bus_add_child DEVMETHOD.
ClosedPublic

Authored by bz on Dec 19 2024, 10:22 PM.
Tags
None
Referenced Files
F151175286: D48152.id.diff
Mon, Apr 6, 2:45 PM
Unknown Object (File)
Sun, Apr 5, 10:29 AM
Unknown Object (File)
Tue, Mar 17, 10:13 PM
Unknown Object (File)
Tue, Mar 10, 10:46 AM
Unknown Object (File)
Feb 8 2026, 1:38 PM
Unknown Object (File)
Feb 7 2026, 9:09 PM
Unknown Object (File)
Jan 31 2026, 9:42 AM
Unknown Object (File)
Jan 10 2026, 2:14 AM
Subscribers
None

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Dec 19 2024, 10:22 PM
bz created this revision.

I wonder if other SDHCI front ends need this?
Regardless, it certainly can't hurt.

This revision is now accepted and ready to land.Dec 19 2024, 10:34 PM
In D48152#1097986, @imp wrote:

I wonder if other SDHCI front ends need this?
Regardless, it certainly can't hurt.

Question might be "need" as in it's not there or "need" as in "hardware with SDIO on it exists"?

This revision was automatically updated to reflect the committed changes.