[svn-commits] branch group/kernelmove r1029 - in
/team/group/kernelmove: ./ datamods/ doc/e...
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon May 8 13:49:02 MST 2006
Author: tzafrir
Date: Mon May 8 15:49:01 2006
New Revision: 1029
URL: http://svn.digium.com/view/zaptel?rev=1029&view=rev
Log:
many moves to subdirs. Currently totally broken.
Added:
team/group/kernelmove/doc/examples/
team/group/kernelmove/doc/examples/ifcfg-hdlc0
- copied unchanged from r1028, team/group/kernelmove/ifcfg-hdlc0
team/group/kernelmove/doc/examples/ifup-hdlc
- copied unchanged from r1028, team/group/kernelmove/ifup-hdlc
team/group/kernelmove/doc/examples/zaptel.conf.sample
- copied unchanged from r1028, team/group/kernelmove/zaptel.conf.sample
team/group/kernelmove/doc/examples/zaptel.init
- copied unchanged from r1028, team/group/kernelmove/zaptel.init
team/group/kernelmove/doc/examples/zaptel.sysconfig
- copied unchanged from r1028, team/group/kernelmove/zaptel.sysconfig
team/group/kernelmove/kernel/
team/group/kernelmove/kernel/arith.h
- copied unchanged from r1028, team/group/kernelmove/arith.h
team/group/kernelmove/kernel/biquad.h
- copied unchanged from r1028, team/group/kernelmove/biquad.h
team/group/kernelmove/kernel/datamods/
- copied from r1028, team/group/kernelmove/datamods/
team/group/kernelmove/kernel/digits.h
- copied unchanged from r1028, team/group/kernelmove/digits.h
team/group/kernelmove/kernel/ecdis.h
- copied unchanged from r1028, team/group/kernelmove/ecdis.h
team/group/kernelmove/kernel/fasthdlc.h
- copied unchanged from r1028, team/group/kernelmove/fasthdlc.h
team/group/kernelmove/kernel/fir.h
- copied unchanged from r1028, team/group/kernelmove/fir.h
team/group/kernelmove/kernel/kb1ec.h
- copied unchanged from r1028, team/group/kernelmove/kb1ec.h
team/group/kernelmove/kernel/kb1ec_const.h
- copied unchanged from r1028, team/group/kernelmove/kb1ec_const.h
team/group/kernelmove/kernel/mec.h
- copied unchanged from r1028, team/group/kernelmove/mec.h
team/group/kernelmove/kernel/mec2.h
- copied unchanged from r1028, team/group/kernelmove/mec2.h
team/group/kernelmove/kernel/mec2_const.h
- copied unchanged from r1028, team/group/kernelmove/mec2_const.h
team/group/kernelmove/kernel/mec3-float.h
- copied unchanged from r1028, team/group/kernelmove/mec3-float.h
team/group/kernelmove/kernel/mec3.h
- copied unchanged from r1028, team/group/kernelmove/mec3.h
team/group/kernelmove/kernel/mg2ec.h
- copied unchanged from r1028, team/group/kernelmove/mg2ec.h
team/group/kernelmove/kernel/mg2ec_const.h
- copied unchanged from r1028, team/group/kernelmove/mg2ec_const.h
team/group/kernelmove/kernel/pciradio.c
- copied unchanged from r1028, team/group/kernelmove/pciradio.c
team/group/kernelmove/kernel/proslic.h
- copied unchanged from r1028, team/group/kernelmove/proslic.h
team/group/kernelmove/kernel/sec-2.h
- copied unchanged from r1028, team/group/kernelmove/sec-2.h
team/group/kernelmove/kernel/sec.h
- copied unchanged from r1028, team/group/kernelmove/sec.h
team/group/kernelmove/kernel/tor2-hw.h
- copied unchanged from r1028, team/group/kernelmove/tor2-hw.h
team/group/kernelmove/kernel/tor2.c
- copied unchanged from r1028, team/group/kernelmove/tor2.c
team/group/kernelmove/kernel/torisa.c
- copied unchanged from r1028, team/group/kernelmove/torisa.c
team/group/kernelmove/kernel/torisa.h
- copied unchanged from r1028, team/group/kernelmove/torisa.h
team/group/kernelmove/kernel/wcfxo.c
- copied unchanged from r1028, team/group/kernelmove/wcfxo.c
team/group/kernelmove/kernel/wcfxsusb.c
- copied unchanged from r1028, team/group/kernelmove/wcfxsusb.c
team/group/kernelmove/kernel/wcfxsusb.h
- copied unchanged from r1028, team/group/kernelmove/wcfxsusb.h
team/group/kernelmove/kernel/wct1xxp.c
- copied unchanged from r1028, team/group/kernelmove/wct1xxp.c
team/group/kernelmove/kernel/wct4xxp-diag.c
- copied unchanged from r1028, team/group/kernelmove/wct4xxp-diag.c
team/group/kernelmove/kernel/wct4xxp.c
- copied unchanged from r1028, team/group/kernelmove/wct4xxp.c
team/group/kernelmove/kernel/wct4xxp.h
- copied unchanged from r1028, team/group/kernelmove/wct4xxp.h
team/group/kernelmove/kernel/wctdm.c
- copied unchanged from r1028, team/group/kernelmove/wctdm.c
team/group/kernelmove/kernel/wctdm.h
- copied unchanged from r1028, team/group/kernelmove/wctdm.h
team/group/kernelmove/kernel/wctdm24xxp.c
- copied unchanged from r1028, team/group/kernelmove/wctdm24xxp.c
team/group/kernelmove/kernel/wcte11xp.c
- copied unchanged from r1028, team/group/kernelmove/wcte11xp.c
team/group/kernelmove/kernel/wcusb.c
- copied unchanged from r1028, team/group/kernelmove/wcusb.c
team/group/kernelmove/kernel/wcusb.h
- copied unchanged from r1028, team/group/kernelmove/wcusb.h
team/group/kernelmove/kernel/xpp/
- copied from r1028, team/group/kernelmove/xpp/
team/group/kernelmove/kernel/zaptel.c
- copied unchanged from r1028, team/group/kernelmove/zaptel.c
team/group/kernelmove/kernel/zaptel.h
- copied unchanged from r1028, team/group/kernelmove/zaptel.h
team/group/kernelmove/kernel/zconfig.h
- copied unchanged from r1028, team/group/kernelmove/zconfig.h
team/group/kernelmove/kernel/ztd-eth.c
- copied unchanged from r1028, team/group/kernelmove/ztd-eth.c
team/group/kernelmove/kernel/ztd-loc.c
- copied unchanged from r1028, team/group/kernelmove/ztd-loc.c
team/group/kernelmove/kernel/ztdummy.c
- copied unchanged from r1028, team/group/kernelmove/ztdummy.c
team/group/kernelmove/kernel/ztdummy.h
- copied unchanged from r1028, team/group/kernelmove/ztdummy.h
team/group/kernelmove/kernel/ztdynamic.c
- copied unchanged from r1028, team/group/kernelmove/ztdynamic.c
team/group/kernelmove/makefw (with props)
team/group/kernelmove/xpp_utils/
- copied from r1028, team/group/kernelmove/xpp/utils/
Removed:
team/group/kernelmove/arith.h
team/group/kernelmove/biquad.h
team/group/kernelmove/datamods/
team/group/kernelmove/digits.h
team/group/kernelmove/ecdis.h
team/group/kernelmove/fasthdlc.h
team/group/kernelmove/fir.h
team/group/kernelmove/ifcfg-hdlc0
team/group/kernelmove/ifup-hdlc
team/group/kernelmove/kb1ec.h
team/group/kernelmove/kb1ec_const.h
team/group/kernelmove/kernel/xpp/utils/
team/group/kernelmove/mec.h
team/group/kernelmove/mec2.h
team/group/kernelmove/mec2_const.h
team/group/kernelmove/mec3-float.h
team/group/kernelmove/mec3.h
team/group/kernelmove/mg2ec.h
team/group/kernelmove/mg2ec_const.h
team/group/kernelmove/pciradio.c
team/group/kernelmove/proslic.h
team/group/kernelmove/sec-2.h
team/group/kernelmove/sec.h
team/group/kernelmove/tor2-hw.h
team/group/kernelmove/tor2.c
team/group/kernelmove/torisa.c
team/group/kernelmove/torisa.h
team/group/kernelmove/wcfxo.c
team/group/kernelmove/wcfxsusb.c
team/group/kernelmove/wcfxsusb.h
team/group/kernelmove/wct1xxp.c
team/group/kernelmove/wct4xxp-diag.c
team/group/kernelmove/wct4xxp.c
team/group/kernelmove/wct4xxp.h
team/group/kernelmove/wctdm.c
team/group/kernelmove/wctdm.h
team/group/kernelmove/wctdm24xxp.c
team/group/kernelmove/wcte11xp.c
team/group/kernelmove/wcusb.c
team/group/kernelmove/wcusb.h
team/group/kernelmove/xpp/
team/group/kernelmove/zaptel.c
team/group/kernelmove/zaptel.conf.sample
team/group/kernelmove/zaptel.h
team/group/kernelmove/zaptel.init
team/group/kernelmove/zaptel.sysconfig
team/group/kernelmove/zconfig.h
team/group/kernelmove/ztd-eth.c
team/group/kernelmove/ztd-loc.c
team/group/kernelmove/ztdummy.c
team/group/kernelmove/ztdummy.h
team/group/kernelmove/ztdynamic.c
Modified:
team/group/kernelmove/xpp_utils/hexfile.c
Added: team/group/kernelmove/makefw
URL: http://svn.digium.com/view/zaptel/team/group/kernelmove/makefw?rev=1029&view=auto
==============================================================================
--- team/group/kernelmove/makefw (added)
+++ team/group/kernelmove/makefw Mon May 8 15:49:01 2006
@@ -1,0 +1,62 @@
+#!/usr/bin/perl -w
+
+# makefw: compile firmware files for tormenta2 and pciradio
+#
+# Written by Jim Dixon <jim at lambdatel.com>.
+# Perl rewrite by Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+#
+# Copyright (C) 2006 Xorcom Ltd.
+# Copyright (C) 2001 Jim Dixon / Zapata Telephony.
+# Copyright (C) 2001 Linux Support Services, Inc.
+#
+# All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under thet erms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# Primary Author: Mark Spencer <markster at digium.com>
+
+use strict;
+
+if (@ARGV != 2) {
+ print "Usage... $0 filename.rbt array_name\n";
+ exit(1);
+}
+
+my $firmware_file = $ARGV[0];
+my $array_name = $ARGV[1];
+
+print "static unsigned char ${array_name}[] = {\n";
+
+open(FIRMWARE,$firmware_file) or
+ die("Error opening input firmware file $firmware_file: $!");
+
+my $i = 0;
+while(<FIRMWARE>){
+ # ignore the header lines:
+ chomp;
+ # 32 0/1-s:
+ next unless (/^([01]{8})([01]{8})([01]{8})([01]{8})$/);
+ my @num_strs = ($1,$2,$3,$4);
+ for my $num_str (@num_strs) {
+ if ($i++) {print ","}; #avoid a comma before first number
+ printf "0x%02x", ord pack('b*',$num_str);
+ }
+ if ($i%12 == 0) {print "\n";}
+}
+close(FIRMWARE);
+print "\n};\n\n";
+print STDERR "Loaded $i bytes from file $firmware_file.\n";
+exit(0);
+
Propchange: team/group/kernelmove/makefw
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: team/group/kernelmove/makefw
------------------------------------------------------------------------------
svn:executable = *
Propchange: team/group/kernelmove/makefw
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: team/group/kernelmove/makefw
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: team/group/kernelmove/xpp_utils/hexfile.c
URL: http://svn.digium.com/view/zaptel/team/group/kernelmove/xpp_utils/hexfile.c?rev=1029&r1=1028&r2=1029&view=diff
==============================================================================
--- team/group/kernelmove/xpp_utils/hexfile.c (original)
+++ team/group/kernelmove/xpp_utils/hexfile.c Mon May 8 15:49:01 2006
@@ -27,7 +27,7 @@
#include <errno.h>
#include "hexfile.h"
-static const char rcsid[] = "$Id:$";
+static const char rcsid[] = "$Id$";
static parse_hexfile_report_func_t report_func = NULL;
More information about the svn-commits
mailing list