From cfd61537b47387b0fb5c8228baad6cec16d8f6e6 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Tue, 18 Dec 2007 14:31:07 +0000 Subject: xpp r5151: * xpd_pri: Basically ready. * PCM synchronization changes: - Each Astribank unit ticks independently. Each with its own PLL. - HOST synchronization is gone. Loading of xpp will no longer cause useless 250 ticks per second if you have no Astribank. - Synchronization from the zaptel sync master requires setting ZAPTEL as sync source (xpp_sync ZAPTEL). * rx_tasklet is now a parameter of the module xpp, rather than of xpp_usb. * New FPGA firmware: 5128 (1151) / 5122 (1141, 1131): - Fixes synchronization issues. - PRI module: E1 should now work. * perl module and utilities: - Modules no longer magically scan system on initialization. - Scanning is by calling explicit methods. - "Serial" has been renamed "Label". It is basically unique, but should be modifieble. - Some basic documentation of zaptel perl modules. * Default sort order of zt_registration is back to SORT_CONNCTOR. * zt_registration proc file now shows the number of span registered to if registered. Try: grep . /proc/xpp/XBUS-*/XPD-*/zt_registration * genzaptelconf: Allow using a custom command instead of /etc/init.d/asterisk to start/stop asterisk. * Fixed the typo "Slagish". git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3506 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- xpp/card_global.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'xpp/card_global.h') diff --git a/xpp/card_global.h b/xpp/card_global.h index 1dffb2e..250f4f4 100644 --- a/xpp/card_global.h +++ b/xpp/card_global.h @@ -23,6 +23,7 @@ */ #include "xdefs.h" +#include "xbus-pcm.h" enum global_opcodes { XPROTO_NAME(GLOBAL, DESC_REQ) = 0x04, @@ -81,13 +82,6 @@ DEF_RPACKET_DATA(GLOBAL, ERROR_CODE, } info; ); -enum sync_mode { - SYNC_MODE_HOST = 0x00, - SYNC_MODE_AB = 0x01, /* Astribank sync */ - SYNC_MODE_PLL = 0x03, /* Adjust XPD's PLL according to HOST */ - SYNC_MODE_QUERY = 0x80, -}; - /* 0x04 */ DECLARE_CMD(GLOBAL, DESC_REQ, int xpd_num); /* 0x19 */ DECLARE_CMD(GLOBAL, SYNC_SOURCE, enum sync_mode mode, int drift); /* 0x23 */ DECLARE_CMD(GLOBAL, RESET_SYNC_COUNTERS); -- cgit v1.2.3