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)
Tue, Jul 22, 9:15 AM
Unknown Object (File)
Wed, Jul 16, 7:54 AM
Unknown Object (File)
Jun 23 2025, 11:23 AM
Unknown Object (File)
Jun 21 2025, 6:50 PM
Unknown Object (File)
Jun 20 2025, 1:50 PM
Unknown Object (File)
Jun 20 2025, 3:19 AM
Unknown Object (File)
Jun 15 2025, 12:11 AM
Unknown Object (File)
Jun 1 2025, 5:12 PM

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.