Page MenuHomeFreeBSD

Improve error/debug messages in sdhci.c
ClosedPublic

Authored by bz on Mar 29 2019, 9:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 14, 1:37 AM
Unknown Object (File)
Thu, Jul 2, 6:48 AM
Unknown Object (File)
Tue, Jun 30, 10:36 AM
Unknown Object (File)
Thu, Jun 25, 11:38 AM
Unknown Object (File)
Tue, Jun 23, 12:40 PM
Unknown Object (File)
Fri, Jun 19, 11:39 PM
Unknown Object (File)
Jun 11 2026, 5:11 PM
Unknown Object (File)
May 26 2026, 12:27 AM
Subscribers

Details

Summary

Improve error/debug messages in sdhci.c

When starting a command also print the opcode and flags.
More consitently print flags as hex.
Use slot_printf rather than printf in one case.

Sponsored by: The FreeBSD Foundation
MFC After: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks good to me, it would be great if you could expand "Resp" to "Response" and use "result" instead of "err" for consistency while at it, though.

This revision is now accepted and ready to land.Mar 31 2019, 10:50 PM
This revision was automatically updated to reflect the committed changes.