summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-04wcte12xp: Remove the vpm_num from 'struct command'Shaun Ruffell
This member wasn't necessary anymore since the VPM commands are kept on a separate queue now. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6930 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-04wctdm24xxp: Eliminate 'variety' and 'type' members from 'struct wctdm'.Shaun Ruffell
struct wctdm can hold a pointer to struct wctdm_desc directly, and eliminate the need to copy members of wctdm_desc into wctdm. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6929 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-04wcte12xp: Remove unused 'schluffen' declaration in wcte12xp.hShaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6928 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-04wctdm24xxp: Remove some unused members from struct wctdm.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6927 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-04wctdm24xxp: We no longer need to keep our own reference count.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6926 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-27Replace typos "recieved" with "received".David Brooks
(closes issue #15571) Reported by: alecdavis git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6897 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-23dahdi-base: Update formatting in ioctl_load_zone.Shaun Ruffell
Fixes checkpatch.pl formatting errors from the previous commit. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6891 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-23dahdi-base: Reduce the stack usage of ioctl_load_zone.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6890 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-21dahdi-base: Add support for core timing.Shaun Ruffell
This essentially moves the function of dahdi_dummy into the core of DAHDI. It ensures that if DAHDI is loaded, it will always be able to provide timing, regardless of whether there are board drivers loaded, or if the board drivers are properly calling dahdi_receive. If there is a master span loaded which is calling dahdi_receive, then the behavior will be like it is normally. This functionality is off by default, uncomment CONFIG_DAHDI_CORE_TIMER in include/dahdi/config_dahdi.h in order to enable it. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6863 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-21Revert "wct4xxp, wcte11xp: Use the default configuration by default at startup."Shaun Ruffell
This reverts the change introduced by revision 6712. This change can cause problems when there is a VPM module installed on the quad-span digital cards. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6862 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-19tor2: allow using port4 as timing sourceTzafrir Cohen
Fix a silly regression introduced when strict check on the timing parameter was added (sync-1 is the array index, not sync itself. And 0 is a special case). (closes issue #15408) Reported by: dferrer Patches: tor2-4th_sync.patch uploaded by dferrer (license 525) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6852 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-16wcte12xp: Disable vpmadt032 companding by default.Shaun Ruffell
This fixes a regression in 2.2.0 where certain configurations will fail patloop test or have repeated HDLC aborts because the VPMADT032 is modifying the clear channel or d channel data streams. This restores the behavior to how it was in dahdi-linux 2.1.0.4. (closes issue #15498) Reported by: alecdavis Tested by: alecdavis git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6844 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-13wctc4xxp: Remove deprecated DMA_xxBIT_MASK usage.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6838 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Remove the now unused WCB4XXP_MAGIC definition.Shaun Ruffell
Removing stale debug code. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6825 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Remove 'magic' debug member from b4xxp structure.Shaun Ruffell
Remove some stale debug code. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6824 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Fix LED handling in OpenVox cards (maybe also others)Tzafrir Cohen
This commit adds extra functions to handle LEDs in the non-B410P cards. Only tested on OpenVox cards. OpenVox cards are known to have slightly different LEDs so this is likely to be slightly broken for others. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6821 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Fix PCM handling for various cards.Tzafrir Cohen
HFC-8S cards behave quite differently than HFC-4S cards here. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6818 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02More B410P differences: Clock and NT/TE.Tzafrir Cohen
* The B410P reads the NT/TE switches the other way around from other cards. * Its clock is also 1/2 of that of other cards, which causes wierd PCM on an unmodified driver. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6817 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02The B410P differs from other HFC-xS cards with respect to the EC unitTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6816 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: support for other HFC-xS cards (info, not code)Tzafrir Cohen
This commit includes skeleton for the support of other HFC-[248]S-based cards. It still does not include all the different cases for different cards. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6815 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Adjust debug filter code to number of ports.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6814 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Extra bit macros that a needed for kernels < 2.6.24Tzafrir Cohen
Macros borrowed from xpp/ . git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6813 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Don't assume we have 4 spans (ports).Tzafrir Cohen
First part of extra hfcmulti drivers: the number of ports is still hardwired to 4, but just in a single place. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6812 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-30echocan: Do not go into PRETRAINING mode if not supported by the echocan.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6803 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-30echocan: Do not call through NULL 'echocan_traintap' pointer.Shaun Ruffell
This resolves an issue with a kernel panic if echotraining is enabled in the Asterisk configuration file, but the echocan on the channel (which may be a hardware echocanceller) has not defined that operation. DAHDI-272. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6801 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-30wcb4xxp: Start the first span with default settings on load.Shaun Ruffell
One of the spans of the B410P is now started at driver load time in order to allow it to provide early timing to asterisk, before the card has been properly configured. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6799 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-29wcte11xp: Set the owner field of the dahdi_span before registration.Shaun Ruffell
(related to issue #10601) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6797 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-29dahdi-base: Enable DAHDI to manage the reference counts for the board drivers.Shaun Ruffell
Adds a struct module 'owner' member to the dahdi_span structure and updates all the board drivers to set this member before registering the span. This allows the core of dahdi to maintain the reference counts on the channels itself. (closes issue #10601) Reported by: Matti git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6794 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-29Improve MMX safety for DAHDI echo cancellers on 32-bit x86 systems.Kevin P. Fleming
Replaces the standard kernel FPU save/restore operations with custom written versions for 32-bit x86 CPUs, which have been tested to be reliable and safe to use. (closes issue #13500) Reported by: tzafrir Patches: dahdi_mmx_fix.diff uploaded by tzafrir (license 46) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6791 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-29echocan: Properly keep the reference counts for the echocan modules.Shaun Ruffell
(closes issue #13504) (closes issue #15327) Reported by: sruffell, tzafrir git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6785 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-28Fix 'make stackcheck' using the script of the kernel source.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6780 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-26voicebus: Limit the string length of the vpm workqueue name.Shaun Ruffell
On older kernels, it is possible to cause a kernel panic if the lenght of the workqueue name is greater than 10. DAHDI-276. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6776 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-26dahdi_dynamic: Release the dlock before calling accross modules.Shaun Ruffell
Resolves a hard lock due to a recursive spinlock grab at startup. Reported by: mapacheco (closes issue #15210) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6771 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-26wct4xxp: Unmap the same size DMA window that was mapped.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6768 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-25wctc4xxp: Make the wctc4xxp_netdev_ops structure static.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6760 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-25wctc4xxp: Update to use struct net_device_ops.Shaun Ruffell
Accomodates a change in the linux kernel network device interface. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6717 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-24Remove unused torisa code from headerTerry Wilson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6714 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-24wct4xxp, wcte11xp: Use the default configuration by default at startup.Shaun Ruffell
This change allows hardware to provide timing to asterisk before normal configuration. DAHDI-275. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6712 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-23README: Minor corrections to the README.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6706 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-23Use the same mutex lock for channel allocation and license checking in ↵Kevin P. Fleming
dahdi_echocan_hpec, so that channel allocation won't happen while the license is being checked (or rechecked) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6699 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-23README: Adding a known issues section to the README files.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6695 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-18wctdm, wctdm24xxp, wcfxo: Fix calls to dahdi_hooksig.Shaun Ruffell
When JAPAN, AUDIO_RINGCHECK, or ZERO_BATT_RING compile time options are selected it is possible to get a kernel panic due to an invalid pointer passed to the dahdi_hooksig function. (closes issue #15350) Patch by: alecdavis git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6692 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-12Make complex conditionals work with GNU make 3.80. Much uglier, but it ↵Jason Parker
works on RHEL4. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6688 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-04dahdi-base: Fix bug in procfs handling.Shaun Ruffell
Fix bug in procfs handling where it was possible to get a warning in lib/vsprintf.c when reading from /proc/dahdi/x. Patch by: biohumanoid (closes issue #15252) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6675 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-27xpp: Fix more 'owner' for 2.6.30 to be happy.Tzafrir Cohen
Finishing the work of r6642. Complitly shut issue #14964. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6659 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-25xpp firmwares: fixes sync issues of FXO module in a BRI/PRI AstribankTzafrir Cohen
* Also fixes LED blinking issues in PRI modules * Various bugfixes in the PICs. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6653 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-25USB_FW.hex: Allow setting caps. even when FPGA is loaded.Tzafrir Cohen
Note that They will only take effect after a reset. Firmware rev. 7071. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6651 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-19xpp: 'owner' property of procfs was dropped in 2.6.30.Tzafrir Cohen
This adds a compatibility macro for older versions that is a noop for kernels >= 2.6.30. (closes issue #14964) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6642 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-19xpp: fix the Astribank state machineTzafrir Cohen
This generally is a case that would not happen in the wild, though. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6641 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-19xpp: report in sysfs if bri module uses hardhdlc supportTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6640 a0bf4364-ded3-4de4-8d8a-66a801d63aff