Page MenuHomeFreeBSD

Improve error/debug messages in sdhci.c
ClosedPublic

Authored by bz on Mar 29 2019, 9:52 AM.
Tags
None
Referenced Files
F81602983: D19748.id58147.diff
Thu, Apr 18, 7:36 PM
F81592794: D19748.diff
Thu, Apr 18, 3:50 PM
Unknown Object (File)
Thu, Mar 28, 8:59 PM
Unknown Object (File)
Wed, Mar 20, 5:58 PM
Unknown Object (File)
Jan 13 2024, 7:45 PM
Unknown Object (File)
Dec 20 2023, 4:32 AM
Unknown Object (File)
Dec 14 2023, 4:35 AM
Unknown Object (File)
Nov 8 2023, 5:13 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 23377

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.