summaryrefslogtreecommitdiff
path: root/drivers/dahdi
AgeCommit message (Collapse)Author
2008-12-15wcte12xp: do not release a spinlock that we did not acquire.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5534 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-12use a format string for request_module, so the compiler will do the right thingKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5523 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11One more place whe old-but-not-ancient hotplug is used.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5504 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Send all samples to OSLEC, rather than just the first.Tzafrir Cohen
(closes issue #14036) Reported by: marcotasto Patches: dahdi_echocan_oslec.patch uploaded by marcotasto (license 635) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5503 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Add a separate case for hotplug of kernels <= 2.6.9 .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5498 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11dahdi_dummy: If we're using the system tick, don't use the hrtimer interface.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5497 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Fix the xpp OLD_HOTPLUG fix.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5492 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Fix building dahdi_dummy for kernels 2.6.13, 2.6.14:Tzafrir Cohen
Those kernels don't have RTC yet. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5486 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Remove an include that is not available before 2.6.15 and is not neededTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5484 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11A bit less maigc with OLD_HOTPLUG_SUPPORTTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5483 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Fixed a typo that broke building dahdi-base with kernels < 2.6.13Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5482 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11wctc4xxp: Fix compilation issues on 2.6.15 and below kernels. ThanksShaun Ruffell
tzafrir. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5481 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-04Fix an erroneous warning and ensure that the sample size is set correctly whenShaun Ruffell
decoding G723 packets. Issue: DAHDI-198 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5434 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-04Do not use an already built channel if the source and destination formats doShaun Ruffell
not match the formats we want. This fixes a regression introduced by the new transcoder interface where a translation path from one complex codec to another can result in garbled audio. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5433 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-01Fix issue with cut and paste that was preventing compilation.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5420 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-01Service the transmit descriptor ring before the receive descriptor ring soShaun Ruffell
that commands that are still sitting on the transmit descriptor ring are not completed twice. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5413 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-27Moving README.Astribank to dahdi-tools .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5402 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-27Fixes and some owrk in progress on DAHDI Astribank README.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5397 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-25Validate the timing priority on the wcte11xp and wct1xxp driver.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5384 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-25Validate that the span priority is valid in the tor2 driver.Shaun Ruffell
Patch provided by tzafrir. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5383 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Additional debugging code.Shaun Ruffell
Patch provided by akohlsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5374 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Add a 'spanfilter' module parameter in order to isolate debugging informationShaun Ruffell
to just the spans of interest. Patch provided by akohlsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5369 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Use counter of pending HDLC frames in order to eliminate the need to send aShaun Ruffell
zero-byte frame to kick start the transmission process. Patch provided by akohlsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5368 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Do not make assumptions about the number of ready HDLC frames on HDLC RXShaun Ruffell
interrupt. This prevents libpri from becoming confused when many HDLC frames arrive before the driver can service them or a false RX interrupt is received. Patch provided by akolsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5367 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-21Fix a think-o in numeric comparison. Swap order to make it more clear.Jason Parker
(closes issue #13813) Reported by: ys git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5360 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-21Convert some uses of sprintf to snprintf in dahdi_proc_read in order toShaun Ruffell
eliminate a buffer overrun. Issue: DAHDI-209 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5355 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-20Force the FIFO to reset when the file handle is closed.Shaun Ruffell
Patch provided by akohlsmith. Issue: DAHDI-178 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5350 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-20Make tor2 load properly. Seems to fix #13487.Tzafrir Cohen
Thanks to heyuqi for the testing. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5345 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-20* Some extrra Zap->DAHDI (and Dahdi->DAHDI) fixes in the AstribankTzafrir Cohen
README. * Some extra asciidoc formatting fixes. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5340 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-19support wcb4xxp build on kernels that don't directly use KbuildKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5335 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-17- Fix for race condition of encoder and decoder are allocated at the same timeShaun Ruffell
in the driver. This would result in -EBUSY returns from the DAHDI_TC_ALLOCATE ioctl. - Increase the length of the receive descriptor ring from 8 to 32 to reduce the probability of running out of receive descriptors. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5321 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-17xpp_pri: Fix T1 CRC initializationTzafrir Cohen
Clock synchronization when sync is not from first port. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5320 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-17A fix for an issue with corruption on the D-Channels.Shaun Ruffell
Patch provided by akohlsmith. Issue: DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5315 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-16Fixed USB firmware that caused some bad bioses to hang on boot.Tzafrir Cohen
The BIOSes included in a number of motherboards could hang from an Astribank firmware newer than 1.2.20.1 / 1.4.5.1 . This was due to an some incorrect USB information in the firmware. This firmware fixes it. Merged Zaptel revisions 4580 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5310 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-13Make a message about the host cacheline size being unsupported a debug onlyShaun Ruffell
message. The voicebus interface still works whether the cacheline size is supported or not, but the message is confusing to users. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5303 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-10xpp init_card_2_30: no need to check environment in verify mode.Tzafrir Cohen
Fixes #13832 in Zaptel. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5288 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-10- Do not hold any locks while calling close_channel, which can result in callsShaun Ruffell
to the echocan modules which do not necesarrily assume they are being called in atomic context. - Remove the bigzaplock around calls to psuedo_alloc and pseudo_free. The structures protected by this lock are already protected by the chan_lock in these two cases. - Remove calls to in_atomic() that were previously added to work around this, but did not cover all the cases. Issue: DAHDI-195, DAHDI-170 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5275 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-09We only use print_debug_writebuf when CONFIG_DAHDI_NET or CONFIG_DAHDI_PPP ↵Sean Bright
are defined, so only define it in those cases as well. Reported & Tested by: KP7 via #asterisk-dev git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5270 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-09Add missing semi-colon.Sean Bright
Reported & Tested by: KP7 via #asterisk-dev git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5269 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-05Whitespace changes for the coding standard.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5257 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-05rate limiting a diagnostic printk.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5249 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-05Fix warning messages in order to build on 2.6.27.Shaun Ruffell
(Closes issue #13757) Patch provided by tzafrir. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5237 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-05Check the return value of the down_interruptible call in order to quiet aShaun Ruffell
warning. This semaphore does not protect any host data structures, but only accesses to the VPMADT032 module. The worse thing that could happen is that the internal state of the VPM module is corrupted, and then would only happen on module loading because otherwise access because that is the only time this function is called in the context of a user process. In this case, the module would need to be reloaded again anyway. (Closes issue #13742) Reported by smurfix git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5236 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-05Remove the loopback module parameter since it's not implemented yet.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5232 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-05Allow the wcb4xxp to take all the signalling types.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5230 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-03Adjust DAHDI to the new timers interface of kernel 2.6.28Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5211 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-02dahdi-base: hw_echocancel_off: return 0 if no hardware ECTzafrir Cohen
If the span has no hardware EC, return 0, rather than a random uninitialized value (which was no harm, as that return value is always ignored anyway). git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5207 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-31Changing the spantype to indicate whether it is a TE or NT BRI port.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5196 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-31Fix the FIFO configuration to use the data from the EC correctlyMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5195 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-31wcb4xxp: Set the spantype to "BRI" (to show e.g. in dahdi_scan)Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5191 a0bf4364-ded3-4de4-8d8a-66a801d63aff