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)
Sat, Apr 18, 11:46 AM
Unknown Object (File)
Sat, Apr 18, 6:48 AM
Unknown Object (File)
Sat, Apr 18, 3:04 AM
Unknown Object (File)
Fri, Apr 17, 7:25 AM
Unknown Object (File)
Wed, Apr 15, 8:57 PM
Unknown Object (File)
Tue, Apr 14, 1:20 PM
Unknown Object (File)
Wed, Apr 8, 2:47 PM
Unknown Object (File)
Mon, Apr 6, 2:45 PM
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.