From d717b83056e5076a64c9471dd85573de409582d7 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Thu, 25 Jan 2007 10:48:33 +0000 Subject: * Xbus protocol version: 2.4 (Zaptel 1.2.12/1.4.0 had 2.3). XPS Init scripts renamed accordingly. * Performance improvements for multi-XPD (span) devices. * Astribank BRI driver (in next commit). * Changes under /proc: - XBUS and XPD numbers have two digits. - Every script wildcard should be replaced from XBUS-? to XBUS-[0-9]* - Added /proc/xpp/XBUS-*/XPD-*/blink: echo 1 to start and 0 to stop. * Several countries (South Africa, UAE, anybody else) require a shorter ring delay. Adjust FXO reg 0x17 (23)'s bits 0:2 to 011. * Use tasklets to move most of the interrupt PCM copying out of the interrupt. * Debugfs-based code to dump data to userspace (used to debug BRI D channel). * Pretend every 2.6.9 actually has later RHEL's typedefs. * fpga_load supports /dev/bus/usb . * Fixed physical order sorting in genzaptelconf. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1966 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- xpp/zap_debug.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xpp/zap_debug.h') diff --git a/xpp/zap_debug.h b/xpp/zap_debug.h index 6d8ac36..29403a8 100644 --- a/xpp/zap_debug.h +++ b/xpp/zap_debug.h @@ -31,6 +31,12 @@ #define WARN(fmt, ...) printk(KERN_WARNING "WARN-%s: %s: " fmt, THIS_MODULE->name, __FUNCTION__, ## __VA_ARGS__) #define ERR(fmt, ...) printk(KERN_ERR "ERR-%s: " fmt, THIS_MODULE->name, ## __VA_ARGS__) +/* + * Bits for print_dbg + */ +#define DBG_DEFAULT 0x01 +#define DBG_PCM 0x02 + void dump_poll(int print_dbg, const char *msg, int poll); static inline char *rxsig2str(zt_rxsig_t sig) -- cgit v1.2.3