summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-09Drop the need for header files by using non-versioned binary files.file
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2136 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-09Fix 'make clean' on kernel 2.4: datamods is only made on 2.6.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2135 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-08Build xpp/ for kernel >= 2.6.8, not >=2.6.9.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2130 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-08Now 'chans' is used after all. tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2124 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-08Branch 1.4 is back in sync (currently: xorcom rev. 3332):tzafrir
* Performance improvements for multi-XPD (span) devices. * Astribank BRI driver (in next commit). * Changes under /proc: - XBUS and XPD numbers have two digits. - Every script wildcard should be replaced from XBUS-? to XBUS-[0-9]* - Added /proc/xpp/XBUS-*/XPD-*/blink: echo 1 to start and 0 to stop. * Several countries (South Africa, UAE, anybody else) require a shorter ring delay. Adjust FXO reg 0x17 (23)'s bits 0:2 to 011. * Use tasklets to move most of the interrupt PCM copying out of the interrupt. * Debugfs-based code to dump data to userspace (used to debug BRI D channel). * Pretend every 2.6.9 actually has later RHEL's typedefs. * fpga_load supports /dev/bus/usb . * Fixed physical order sorting in genzaptelconf. * Reverse polarity and power denial detection. * A short led flash at registration time. * Add a real version of the xpp modules to them (independent of the Zaptel version). * Update our line status even when not registered. * Fixed a false SIG_CHANGED when inserting or removing cable to FXO. * Fixed compilation fixes for 2.6.20 (Bug #8982) * A cleaner fix for the bool changes of 2.6.19 . * Automatically detect echo_can_state_t at debug time. * Automaitcally set XPP_DEBUGFS (depending on debugfs) at compile time. * Bug-fixes to zaptel-helper. Moved to xpp/utils . * Xbus protocol version: 2.4 (Zaptel 1.2.12/1.4.0 had 2.3). XPS Init scripts renamed accordingly. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2123 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-07Merged revisions 2119 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2119 | kpfleming | 2007-02-07 15:22:44 -0600 (Wed, 07 Feb 2007) | 2 lines don't allow wct4xxp workqueue support to be built against kernel 2.6.20... it's not going to work ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2120 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-07Merged revisions 2110 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2110 | kpfleming | 2007-02-07 14:29:22 -0600 (Wed, 07 Feb 2007) | 3 lines build XPP on the kernels that Xorcom says are OK to build on update workqueue usage to conform to kernel 2.6.20 API ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2111 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-07Merge in zaptel-firmware branch. This basically downloads the firmware from ↵file
the FTP site and builds the appropriate headers based on the current version. Drivers just know they need a certain firmware and get fed the current version. If this prevents your zaptel from building do a make distclean and start fresh or make sure the firmware is checked in make menuselect. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2107 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-07Merged revisions 2103 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2103 | kpfleming | 2007-02-07 13:52:29 -0600 (Wed, 07 Feb 2007) | 2 lines include headers we need... new kernel releases won't do it for us ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2105 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-07In case the ZT_GETVERSION ioctl fails, ensure that the buffers are initializedrussell
to "Unknown" so that we don't try to print uninitialized string buffers. (issue #8992, Oron Peled, tzafrir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2099 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-05Merged revisions 2086 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2086 | kpfleming | 2007-02-05 15:54:40 -0600 (Mon, 05 Feb 2007) | 2 lines fix version-numbering logic ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2087 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-31r2064: tzafrir | 2007-01-31 21:48:39 +0200tzafrir
zaptel-helper deserves wider exposure. Note: it is not getting installed. However it will probably help preven the braking of Astribank drivers loading for those who do care. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2066 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-31Merging 1.2 changes of genzaptelconf:tzafrir
* -l (list) now works reliebly. * Cleared some leftover writes to standard output. * Fixed xpp spans sort order. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2065 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-31Merged revisions 2043 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2043 | kpfleming | 2007-01-31 08:06:34 -0600 (Wed, 31 Jan 2007) | 4 lines fix up author email addresses use the kernel's built-in support for module aliases instead of manually doing it in modprobe.conf or equivalent add wctdm8xxp alias for wctdm24xxp ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2044 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-31Merged revisions 2038 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2038 | kpfleming | 2007-01-30 19:33:25 -0600 (Tue, 30 Jan 2007) | 2 lines final fix for non-hotplug firmware loading ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2039 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-30Blocked revisions 2018 via svnmergerussell
........ r2018 | russell | 2007-01-30 12:11:11 -0600 (Tue, 30 Jan 2007) | 5 lines - Make the build of xpp occur with 2.6.8 or above, instead of 2.6.10 - remove the installation of the userspace tools - remove the architecture check (issue #8894, tzafrir) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2019 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-29Merged revisions 1996 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1996 | kpfleming | 2007-01-29 13:20:32 -0600 (Mon, 29 Jan 2007) | 2 lines _really_ fix the non-hotplug firmware case ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1998 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-27Merged revisions 1987 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1987 | kpfleming | 2007-01-27 10:14:54 -0600 (Sat, 27 Jan 2007) | 2 lines properly reference the size symbol produced by objcopy ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1988 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-26Fix driver name to original.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1982 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-25Minor bug fix as well as minor cosmetic changes.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1975 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-25Make sure we don't disable VPM support by defaultmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1974 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-25Take out some old debug code.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1971 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-25Add additional product support.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1969 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-24Merged revisions 1953 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1953 | kpfleming | 2007-01-24 07:01:36 -0600 (Wed, 24 Jan 2007) | 2 lines might as well fix this driver too :-) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1954 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-24Merged revisions 1943 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1943 | russell | 2007-01-23 18:35:48 -0600 (Tue, 23 Jan 2007) | 3 lines If the xpp pieces get built, install the userspace utilities as well. (issue #8894) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1944 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-23Merged revisions 1936 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1936 | mattf | 2007-01-23 15:28:14 -0600 (Tue, 23 Jan 2007) | 3 lines Make sure we don't clear the interrupt before we might have received it in shared interrupt line scenarios. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1937 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-23Merged revisions 1923 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1923 | kpfleming | 2007-01-23 09:39:12 -0600 (Tue, 23 Jan 2007) | 2 lines use the proper function prototype for 2.6 kernels ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1924 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-23Merged revisions 1920 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1920 | kpfleming | 2007-01-23 09:25:42 -0600 (Tue, 23 Jan 2007) | 2 lines clean up various compiler warnings ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1921 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-23Merged revisions 1912 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1912 | file | 2007-01-22 20:57:00 -0500 (Mon, 22 Jan 2007) | 2 lines Fix Congestion tone for Australia. (issue #8891 reported by JT) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1913 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-22Merged revisions 1898 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1898 | kpfleming | 2007-01-22 16:43:06 -0600 (Mon, 22 Jan 2007) | 3 lines use better definition for linked-in firmware data ensure that hotplug-loaded firmware is released when we are finished with it ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1899 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-22Merged revisions 1891 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1891 | kpfleming | 2007-01-22 15:12:35 -0600 (Mon, 22 Jan 2007) | 2 lines make the non-hotplug firmware case actually compile again ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1892 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-22Fix typo in Makefileqwell
Issue 8885, patch by James git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1889 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-22Merged revisions 1886 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1886 | kpfleming | 2007-01-22 14:58:30 -0600 (Mon, 22 Jan 2007) | 2 lines might be good if i committed the working version of this code... ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1887 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-22Merged revisions 1877 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1877 | kpfleming | 2007-01-22 12:58:34 -0600 (Mon, 22 Jan 2007) | 2 lines update to PR47 Octasic API kit, and use new GetCapacityPins API call to only attempt downloading the correct firmware for the modules we find ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1878 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-18Backporting revs 1812 and 1854 into 1.4.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1855 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-16Merged revisions 1835 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1835 | qwell | 2007-01-16 17:44:28 -0600 (Tue, 16 Jan 2007) | 6 lines Remove file that was never (literally) able to compile - dates all the way back to zaptel 0.8.0 If we can figure out where this coeffs.h comes from, I suppose it would be easy to add this back in the future. Issue 8493 ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1836 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-16Merged revisions 1826-1827 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1826 | kpfleming | 2007-01-15 22:30:00 -0600 (Mon, 15 Jan 2007) | 3 lines make the 'firmware object' files load the firmware blobs as read-only data simplify the code that uses the firmware objects a bit ........ r1827 | kpfleming | 2007-01-15 22:37:06 -0600 (Mon, 15 Jan 2007) | 2 lines use latest Octasic API tag ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1828 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-16Merged revisions 1818 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1818 | kpfleming | 2007-01-15 19:28:54 -0600 (Mon, 15 Jan 2007) | 3 lines eliminate the fw2h tool, and instead use objcopy to directly make object files from the firmware binary files pass HOTPLUG_FIRMWARE down to the module build so that we can avoid various compiler warnings ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1820 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-30Merged revisions 1773 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1773 | file | 2006-12-30 14:09:50 -0500 (Sat, 30 Dec 2006) | 2 lines Specify full path to restorecon instead of assuming it will be available from what is in $PATH. (issue #8671 reported by djflux) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1774 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-27Merged revisions 1766 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1766 | kpfleming | 2006-12-27 16:47:19 -0600 (Wed, 27 Dec 2006) | 2 lines remove pointless duplication of ZAPTEL_VERSION that causes these modules to be rebuilt every time a commit is made to any part of Zaptel ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1767 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18 r1724@boole: tzafrir | 2006-12-18 15:55:59 +0200tzafrir
Code is 2.6-specific anyway, no need for an explicit test. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1729 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18 r1723@boole: tzafrir | 2006-12-18 15:54:04 +0200tzafrir
Use the internal version (without locking) of usb_reset_device. Intended for kernel 2.6.9 and earlier. Finally full support of 2.6.8 and 2.6.9. r2937: diego | 2006-12-17 14:20:36 +0200 r2940: tzafrir | 2006-12-17 16:32:51 +0200 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1728 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18 r1722@boole: tzafrir | 2006-12-18 15:50:36 +0200tzafrir
xpp_zap.c: Better error hanlding during module init. orig r2948: oron | 2006-12-17 18:54:00 +0200 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1727 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18 r1721@boole: tzafrir | 2006-12-18 15:46:42 +0200tzafrir
Assume every 2.6.9 kernel is a later RHEL4 kernel, which backported the gfp_t typedef. Either way we break some systems). r2938: diego | 2006-12-17 14:22:16 +0200 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1726 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-15Sync to xpp RELEASE-1.2.0 2933.tzafrir
r2847@boole: diego | 2006-12-03 10:33:00 +0200 added documentation which explains which packages are needed to build the drivers on different distributions. r2862@boole: tzafrir | 2006-12-05 08:43:50 +0200 README.Astribank: A typo in the sample config (changeset:2861). r2891@boole: tzafrir | 2006-12-08 01:11:45 +0200 Re-accept changeset:2832 after all. r2892@boole: tzafrir | 2006-12-08 02:46:07 +0200 Merge genzaptelconf changeset:2866 from trunk: * Zapata comment on unidentified channel goes to $zapata_file * Correct pattern for Sangoma A200 card's channels. r2893@boole: tzafrir | 2006-12-08 03:11:37 +0200 genzaptelconf: * Add options xpp_fxo_rxgain: add a custom rxgain for every XPP FXO channel. * Do print the original line for every channel. r2909@boole: tzafrir | 2006-12-10 20:03:59 +0200 Add some sleeps in older kernels in the firmware loading script. r2932@boole: tzafrir | 2006-12-14 17:30:12 +0200 Make the warning about a call to off-hook FXO debug. At least if we cannot suppress it at module load time. r2933@boole: tzafrir | 2006-12-14 17:32:00 +0200 Don't redefine 'bool' on newer kerenls to fix building with kernel 2.6.19. Taken from Digium tree. (from changeset:2930) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1719 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-15 r1715@boole: tzafrir | 2006-12-15 14:35:26 +0200tzafrir
Firmwares to fix caller ID detection timing issue. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1716 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-11Merged revisions 1700 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1700 | kpfleming | 2006-12-11 13:05:43 -0600 (Mon, 11 Dec 2006) | 2 lines kernel 2.6.19 now has a type called 'bool', although it's not completely implemented so there will still be some warnings when building xpp against 2.6.19 kernel headers ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1701 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-11Merged revisions 1697 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1697 | kpfleming | 2006-12-11 12:27:15 -0600 (Mon, 11 Dec 2006) | 2 lines kernel 2.6.19 API changes compatibility ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1698 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-06Merged revisions 1686 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1686 | file | 2006-12-06 18:22:11 -0500 (Wed, 06 Dec 2006) | 2 lines Link ztcfg-dude against stdc++ so we get needed functions. (issue #8494 reported by Romik) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1687 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-01 r1671@boole: tzafrir | 2006-12-01 01:30:24 +0200tzafrir
r2806@boole: oron | 2006-11-27 16:54:06 +0200 Fixed panic in ticket:147 merged code from changeset:2802 changeset:2804 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1678 5390a7c7-147a-4af0-8ec9-7488f05a26cb