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, Jan 11, 12:07 PM
Unknown Object (File)
Thu, Jan 9, 12:22 PM
Unknown Object (File)
Fri, Dec 27, 10:02 AM
Unknown Object (File)
Fri, Dec 27, 9:20 AM
Unknown Object (File)
Thu, Dec 26, 11:47 AM
Unknown Object (File)
Thu, Dec 26, 10:24 AM
Unknown Object (File)
Dec 20 2024, 8:38 AM
Unknown Object (File)
Dec 20 2024, 7:39 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.