diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2009-05-27 10:01:24 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2009-05-27 10:01:24 +0000 |
commit | 18c6813f2c788b603dab363b9138d65d24252167 (patch) | |
tree | 92402484268f2bc1d5e4e55f7321b9204ad47c5f /kernel/xpp/init_card_2_30 | |
parent | 2a73224819e867eaf56371d6055e2ca4d36396b6 (diff) |
Big dump of newer xpp code.
For finer details and separate commits, you are advised to look into the
commit log of dahdi-{linux,tools}.
xpp.r7150
* 116x Astribanks:
- Support for the TwinStar capability and for FXO and (BRI|PRI) on
same device.
- New control protocol ("MPP").
- astribank_hextool - a low-level firmware loading tool instead of
fpga_load .
- astribank_tool - Other MPP activities .
- Can still reset (but just that) through older protocol.
- astribank_hexload is required for loading FPGA firmware for USB_FW.hex
rev > 6885.
- USB_FW rev. 7071 .
- More modular FPGA firmware (1161 only).
- FPGA_1161.hex rev. 7131. PIC_TYPE_* rev. 7107.
- software-settings of some capabilities with astribank_allow .
* XPP:
- init_card_* script are less verbose.
- Reduced rate of "Is a DAHDI sync master" message.
- Replace member bus_id with dev_name() and set_dev_name() for
building with 2.6.30.
- Conditionally remove 'owner' property of procfs was dropped in 2.6.30.
- astribank_hook now enabled by default.
- Has an optional hook for TwinStar.
* BRI:
- hardhdlc support: The bri_dchan patch is no longer needed.
- If bri_dchan patch applied: old code is used, and "dchan" is used.
- If not: new code and "hardhdlc" is used.
- zapconf will generate the right configuration, depending on the new
sysfs driver attribute bri_hardhdlc, but default to "dchan" as
before if not explicitly told.
- Bugfix: explicitly turn off leds on startup.
* FXS:
- Initialization and calibration fixes.
- Notify the user just one about wrong VMWI config
* Dahdi-perl:
- Fix detection of empty slots in wctdm.
- Fix working with ethmf's extra file in /proc/zaptel
- Improved detection of Rhino cards.
- dahdi_genconf's generated text better explains files are generated.
- /etc/xpp_order - allow specifiying an explicit order for
Astribanks to register with Zaptel.
- Dahdi::Xpp::Mpp - A wrapper around astribank_tool .
* dahdi.init:
- A separate waitfor_xpds script. May now have a wait-loop in
some cases.
- xpp_sync needs to only be called after dahdi_cfg .
(for the PRI module).
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4641 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/xpp/init_card_2_30')
-rwxr-xr-x | kernel/xpp/init_card_2_30 | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/kernel/xpp/init_card_2_30 b/kernel/xpp/init_card_2_30 index 34f8a0b..efc19a9 100755 --- a/kernel/xpp/init_card_2_30 +++ b/kernel/xpp/init_card_2_30 @@ -69,11 +69,11 @@ sub debug { # Arrange for error logging if (-t STDERR || $opts{v}) { $unit_id = 'Interactive'; - main::debug "Interactive startup"; + debug "Interactive startup"; } else { $unit_id = "$ENV{XBUS_NAME}/UNIT-$ENV{UNIT_NUMBER}"; open (STDERR, "| logger -t $program -p kern.info") || die; - main::debug "Non Interactive startup"; + debug "Non Interactive startup"; foreach my $k (qw( XBUS_NAME XBUS_NUMBER @@ -365,7 +365,7 @@ if($opts{v}) { exit 0; } -main::logit "Starting"; +main::debug "Starting"; FXO::read_defaults; die "OPERMODE is undefined" unless $OPERMODE; @@ -384,56 +384,51 @@ while(<DATA>) { FXO::opermode_setup; close REG; -main::logit "Ending '$0'"; +main::debug "Ending '$0'"; close STDERR; exit 0; __DATA__ -* WD 21 28 +* WD 21 08 # Disable PCM transfers * WD 18 99 * WD 06 00 # ----------- DAA PCM start offset ---------- +* WD 23 00 +* WD 25 00 + 0 WD 22 00 -0 WD 23 00 0 WD 24 00 -0 WD 25 00 +0 WD 21 28 # Enable PCM transfers, when offsets are set 1 WD 22 08 -1 WD 23 00 1 WD 24 08 -1 WD 25 00 +1 WD 21 28 2 WD 22 10 -2 WD 23 00 2 WD 24 10 -2 WD 25 00 +2 WD 21 28 3 WD 22 18 -3 WD 23 00 3 WD 24 18 -3 WD 25 00 +3 WD 21 28 4 WD 22 20 -4 WD 23 00 4 WD 24 20 -4 WD 25 00 +4 WD 21 28 5 WD 22 28 -5 WD 23 00 5 WD 24 28 -5 WD 25 00 +5 WD 21 28 6 WD 22 30 -6 WD 23 00 6 WD 24 30 -6 WD 25 00 +6 WD 21 28 7 WD 22 38 -7 WD 23 00 7 WD 24 38 -7 WD 25 00 +7 WD 21 28 # ----------- DAA ONHOOK -------------------- * WD 05 00 |