Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ichsmb/ichsmb.c
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
#include <dev/ichsmb/ichsmb_var.h> | #include <dev/ichsmb/ichsmb_var.h> | ||||
#include <dev/ichsmb/ichsmb_reg.h> | #include <dev/ichsmb/ichsmb_reg.h> | ||||
/* | /* | ||||
* Enable debugging by defining ICHSMB_DEBUG to a non-zero value. | * Enable debugging by defining ICHSMB_DEBUG to a non-zero value. | ||||
*/ | */ | ||||
#define ICHSMB_DEBUG 0 | #define ICHSMB_DEBUG 0 | ||||
#if ICHSMB_DEBUG != 0 && defined(__CC_SUPPORTS___FUNC__) | #if ICHSMB_DEBUG != 0 | ||||
#define DBG(fmt, args...) \ | #define DBG(fmt, args...) \ | ||||
do { printf("%s: " fmt, __func__ , ## args); } while (0) | do { printf("%s: " fmt, __func__ , ## args); } while (0) | ||||
#else | #else | ||||
#define DBG(fmt, args...) do { } while (0) | #define DBG(fmt, args...) do { } while (0) | ||||
#endif | #endif | ||||
/* | /* | ||||
* Our child device driver name | * Our child device driver name | ||||
▲ Show 20 Lines • Show All 613 Lines • Show Last 20 Lines |