Page MenuHomeFreeBSD

Improve debugging options in bcm2835_sdhci.c
ClosedPublic

Authored by bz on Mar 29 2019, 9:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 5:32 PM
Unknown Object (File)
Fri, Nov 15, 7:18 AM
Unknown Object (File)
Oct 6 2024, 10:33 PM
Unknown Object (File)
Oct 6 2024, 10:33 PM
Unknown Object (File)
Oct 6 2024, 10:32 PM
Unknown Object (File)
Oct 1 2024, 11:58 PM
Unknown Object (File)
Sep 29 2024, 7:04 AM
Unknown Object (File)
Sep 18 2024, 1:08 AM

Details

Summary

Improve debugging options in bcm2835_sdhci.c

Similar to bcm2835_sdhost.c add a TUNABLE and SYSCTL to selectively
turn on debugging printfs if debugging is turned on at compile time.

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

I wonder if there is a way to make this generic as the dprintf or similar macro seems to be common in arm code.

This revision is now accepted and ready to land.Mar 29 2019, 11:39 AM

I wonder if there is a way to make this generic as the dprintf or similar macro seems to be common in arm code.

They are extremely common in most device drivers (unrelated to the architecture, more often spelt in upper cases).

This revision was automatically updated to reflect the committed changes.