freebsd-skq/sys/dev/sdhci
bz dc3514f82c Improve sdhci slot_printf() debug printing.
Currently slot_printf() uses two printf() calls to print the
device-slot name, and actual message. When other printf()s are
ongoing in parallel this can lead to interleaved message on the console,
which is especially unhelpful for debugging or error messages.

Take a hit on the stack and vsnprintf() the message to the buffer.
This way it can be printed along with the device-slot name in one go
avoiding console gibberish.

Reviewed by:	marius
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D19747
2019-06-08 15:24:03 +00:00
..
fsl_sdhci.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_acpi.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_fdt_gpio.c
sdhci_fdt_gpio.h
sdhci_fdt.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_if.m
sdhci_pci.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_xenon.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_xenon.h
sdhci.c Improve sdhci slot_printf() debug printing. 2019-06-08 15:24:03 +00:00
sdhci.h Align struct sdhci_slot MMCCAM members. 2019-03-21 10:23:02 +00:00