[dahdi-commits] dahdi/tools.git branch "master" updated.
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Mon Oct 21 09:12:53 CDT 2013
branch "master" has been updated
via b123bc87ddb6a8d12b6357387653528fa963b5a1 (commit)
from 299d9d9d9c7a52efd5fa68198f986454972ec52b (commit)
Summary of changes:
xpp/xpp_fxloader | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit b123bc87ddb6a8d12b6357387653528fa963b5a1
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date: Mon Oct 21 15:16:14 2013 +0300
xpp_fxloader: support loading AB with ID > 201
Support loading firmware for Astribanks with bcdDevice > 2.01, as we'll
have 2.02 soon.
Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
diff --git a/xpp/xpp_fxloader b/xpp/xpp_fxloader
index 01be192..076f0ec 100644
--- a/xpp/xpp_fxloader
+++ b/xpp/xpp_fxloader
@@ -217,12 +217,14 @@ usb_firmware_device() {
id_str="$1"
devpath="$2"
+ bcd_device=`echo "$id_str" | cut -d/ -f3`
+
case "$id_str" in
e4e4/11[3456]0/101|e4e4/1163/101)
fw="USB_FW.hex"
;;
- e4e4/116[03]/201)
- fw="USB_FW.201.hex"
+ e4e4/116[03]/20?)
+ fw="USB_FW.${bcd_device}.hex"
;;
e4e4/*)
debug "No USB firmware for device $devpath ($id_str)"
@@ -332,7 +334,7 @@ fpga_firmware_device() {
e4e4/11[456]1/101)
fw="FPGA_${id_product}.hex"
;;
- e4e4/1161/201)
+ e4e4/1161/20?)
fw="FPGA_${id_product}.${bcd_device}.hex"
;;
e4e4/*)
-----------------------------------------------------------------------
--
dahdi/tools.git
More information about the dahdi-commits
mailing list