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)
Jan 21 2024, 9:20 AM
Unknown Object (File)
Dec 20 2023, 2:56 AM
Unknown Object (File)
Aug 31 2023, 10:39 AM
Unknown Object (File)
Aug 15 2023, 6:28 PM
Unknown Object (File)
Aug 3 2023, 9:43 PM
Unknown Object (File)
May 27 2023, 6:03 AM
Unknown Object (File)
Apr 19 2023, 10:31 PM
Unknown Object (File)
Jan 17 2023, 8:05 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.