Page MenuHomeFreeBSD

sdhci: add missing bus_add_child DEVMETHOD.
ClosedPublic

Authored by bz on Dec 19 2024, 10:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 7, 8:45 PM
Unknown Object (File)
Mon, Nov 17, 5:58 AM
Unknown Object (File)
Mon, Nov 17, 2:24 AM
Unknown Object (File)
Fri, Nov 14, 6:53 AM
Unknown Object (File)
Fri, Nov 14, 6:53 AM
Unknown Object (File)
Nov 6 2025, 6:20 PM
Unknown Object (File)
Oct 19 2025, 7:58 AM
Unknown Object (File)
Oct 14 2025, 2:18 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 Passed
Unit
No Test Coverage
Build Status
Buildable 61271
Build 58155: arc lint + arc unit

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.