diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-05-03 23:06:02 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-05-03 23:06:02 +0000 |
commit | 2dd60aaf18e98b0e9d3c06bd9dce5f1128fa55ad (patch) | |
tree | 1a1cd28888f191e6ce83bcbbe539124e2529c90b /xpp/card_fxs.h | |
parent | 8c4db4e3acd9a7626e709af0494055487b589719 (diff) |
xpp driver release 1.1.0 (first part of commit)
* FPGA firmware now loaded from PC (for newer models)
* Driver for the FXO module
* Moved most userspace files to the subdirectory utils (see also next commit)
* Explicit license for firmware files
* Optionally avoid auto-registration
* Initializations parameters to chips given from userspace
* And did I mention bugfixes?
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1021 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/card_fxs.h')
-rw-r--r-- | xpp/card_fxs.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/xpp/card_fxs.h b/xpp/card_fxs.h index 503b34e..5eaeb13 100644 --- a/xpp/card_fxs.h +++ b/xpp/card_fxs.h @@ -2,7 +2,7 @@ #define CARD_FXS_H /* * Written by Oron Peled <oron@actcom.co.il> - * Copyright (C) 2004-2005, Xorcom + * Copyright (C) 2004-2006, Xorcom * * All rights reserved. * @@ -25,6 +25,24 @@ #include "xpd.h" #include "slic.h" +enum fxs_opcodes { + XPROTO_NAME(FXS, SIG_CHANGED) = 0x06, +/**/ + XPROTO_NAME(FXS, SLIC_WRITE) = 0x0F, /* Write to SLIC */ + XPROTO_NAME(FXS, CHAN_ENABLE) = 0x0F, /* Write to SLIC */ + XPROTO_NAME(FXS, CHAN_POWER) = 0x0F, /* Write to SLIC */ + XPROTO_NAME(FXS, CHAN_CID) = 0x0F, /* Write to SLIC */ + XPROTO_NAME(FXS, RING) = 0x0F, /* Write to SLIC */ + XPROTO_NAME(FXS, SETHOOK) = 0x0F, /* Write to SLIC */ + XPROTO_NAME(FXS, LED) = 0x0F, /* Write to SLIC */ + XPROTO_NAME(FXS, RELAY_OUT) = 0x0F, /* Write to SLIC */ + XPROTO_NAME(FXS, SLIC_INIT) = 0x0F, /* Write to SLIC */ + XPROTO_NAME(FXS, SLIC_QUERY) = 0x0F, /* Write to SLIC */ +/**/ + XPROTO_NAME(FXS, SLIC_REPLY) = 0x10, +}; + + DEF_RPACKET_DATA(FXS, SIG_CHANGED, byte type; /* unused -- we have it from DEV_DESC */ xpp_line_t sig_status; /* channels: lsb=1, msb=8 */ |