From ec6b220aa7a334ccbd0fcb41d35c66560fc78a11 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Sat, 8 Jul 2006 00:43:31 +0000 Subject: xpp Release 1.1.0 : * FPGA firmware now loaded from PC (for newer models) * Driver for the FXO module (xpd_fxo.ko) * Moved most userspace files to the subdirectory utils (see also next commit) * Explicit license for firmware files * Optionally avoid auto-registration * Registers initializations code is done by a userspace script. * Remove obsolete .inc initialization files (we use user-space init) * Added an install target to the utils dir. * Updated README.Astribank accordingly. * Using RBS signalling, as caller ID did not work well otherwise. * Better handling of USB protocol errors. * Fixed some procfs-related races. * per-card-module ioctls. * fxotune support. * opermode support (set through /etc/default/zaptel for now) * Userspace initialization script can also read registers. * Power calibration works (and implemented in perl) * some fine-tuning to the regster initialization parameters. * Leds turn on before registration and turn off after it. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1212 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- xpp/card_global.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xpp/card_global.h') diff --git a/xpp/card_global.h b/xpp/card_global.h index 377487c..5ab8124 100644 --- a/xpp/card_global.h +++ b/xpp/card_global.h @@ -2,7 +2,7 @@ #define CARD_GLOBAL_H /* * Written by Oron Peled - * Copyright (C) 2004-2005, Xorcom + * Copyright (C) 2004-2006, Xorcom * * All rights reserved. * @@ -24,6 +24,7 @@ #include "xdefs.h" +DEF_RPACKET_DATA(GLOBAL, NULL_REPLY); DEF_RPACKET_DATA(GLOBAL, DESC_REQ); DEF_RPACKET_DATA(GLOBAL, DEV_DESC, byte rev; /* Revision number */ @@ -31,11 +32,11 @@ DEF_RPACKET_DATA(GLOBAL, DEV_DESC, xpp_line_t line_status; /* hook/ring status, depending on unit */ ); DEF_RPACKET_DATA(GLOBAL, PCM_WRITE, - xpp_line_t lines; // Must be 0xFF + xpp_line_t lines; byte pcm[PCM_CHUNKSIZE]; ); DEF_RPACKET_DATA(GLOBAL, PCM_READ, - xpp_line_t lines; // Must be 0xFF + xpp_line_t lines; byte pcm[PCM_CHUNKSIZE]; ); DEF_RPACKET_DATA(GLOBAL, SYNC_SOURCE, -- cgit v1.2.3