Page MenuHomeFreeBSD

sdhci: add sysctls to dump sdhci registers and capabilites
ClosedPublic

Authored by bag_semihalf.com on Aug 4 2021, 8:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 30, 10:28 AM
Unknown Object (File)
Sat, Jun 29, 12:18 AM
Unknown Object (File)
Fri, Jun 28, 6:44 PM
Unknown Object (File)
Thu, Jun 27, 4:03 PM
Unknown Object (File)
Jun 23 2024, 12:39 PM
Unknown Object (File)
May 15 2024, 3:50 AM
Unknown Object (File)
May 7 2024, 4:38 AM
Unknown Object (File)
May 1 2024, 1:03 AM

Details

Summary

Add sysctls dev.sdhci.X.slotY.dumpregs and dev.sdhci.X.slotY.dumpcaps
which dumps sdhci registers or capabilities.

Diff Detail

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

Event Timeline

bag_semihalf.com created this revision.

LGTM + tested on MacchiatoBin/CN913x-DB/CN913x-CEx7-Evaluation board

This revision is now accepted and ready to land.Aug 13 2021, 3:14 PM

How about moving those sysctls under a dev.sdhci.X.slotY.debug parent node? This way we can add more debug tunables in the future.

This revision now requires review to proceed.Aug 18 2021, 8:25 AM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 13 2021, 8:02 AM
This revision was automatically updated to reflect the committed changes.