Enabling sdio_wlan Debug Messages

Werner Almesberger werner at openmoko.org
Thu Sep 18 00:56:50 CEST 2008


Thomas White wrote:
> I would like to see the debug messages (DBG_PRINT(SDDBG_TRACE, ..))
> from drivers/sdio/stack/busdriver/sdio_bus_misc.c, but I can't find the
> option to allow these messages to appear in dmesg or on the console
> during bootup.

I think just adding DBG_LEVEL_TRACE to the flags in DBG_SDIO_MASK
defined in include/linux/sdio/ctsystem_linux.h should do the trick.

Otherwise, brute force should also work ;-)

#undef DBG_PRINT
#define DBG_PRINT(lvl, args) printk(_DBG_PRINTX_ARG args)

- Werner



More information about the openmoko-kernel mailing list