summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-11-02README: no need to generate Kbuild for OSLEC.Tzafrir Cohen
No need to create a Kbuild file. staging/echo has a Makefile that works fine for us. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5203 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
2008-10-31wcb4xxp: Claim to provide DACS for dahdi_scanTzafrir Cohen
dahdi_scan can tell that a span is digital if its first channel has DACS signalling capability. While this is probably not supported by the current driver, it is also harmless. Without this, dahdi_scan shows the spans of this card as analog. (Done after consulting with sruffel) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5190 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-31Fix for a case where a span might not always come back up after a disconnect.Shaun Ruffell
Patch provided by akohlsmith. Issue: DAHDI-174 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5186 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-30Use correct length for the, well, dahdi transcoder device name.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5180 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-30Use ! to hint udev about directory separator.Tzafrir Cohen
Udev knows how to convert a '!' in the device name to a directory separator. Thus the name 'dahdi!ctl' will create the device /dev/dahdi/ctl . We still keep older udev rules in this release for compatibility, but eventually we'll only need them to set permissions. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5179 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-29The /proc/wcb4xxp should not be created once for each card but rather once forShaun Ruffell
all cards. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5175 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-29By default, do not create the procfs entry for the wcb4xxp driver.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5171 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-29xpp: Increase the maximal size of the command queue to 500 .Tzafrir Cohen
Temporarily increase the maximal size of the command queue from 300 to 500 as a workaround of an issue at initialization time (mainly of BRI+FXS). git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5167 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-28update to latest octasic_api tag with NULL definition fixKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5163 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-28fix a large number of warnings found by sparse, the kernel code sanity ↵Kevin P. Fleming
checking tool. some of these fixes are non-optimal (casting 'unsigned long' to '__user void *'), but are unavoidable in many cases. started from tzafrir's patch, did most of the work myself. (closes issue #13763) Reported by: tzafrir Patches: sparse_fixes_1.diff uploaded by tzafrir (license 46) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5162 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-28various cleanups, primarily proper capitalizationKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5156 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-28Adding the wcb4xxp driver, a native dahdi driver for the B410P module.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5150 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-28Undoing commit r5148. Copying directly from a private branch causes problemsShaun Ruffell
when trying to view the history of a file. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5149 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-28Adding the wcb4xxp driver, a native dahdi driver for the B410P module.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5148 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-27dahdi linux README: Clarify OSLEC EC build procedure.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5138 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-27xpp fxo: Add sysfs battery attribute.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5133 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-27xpp: remove an unused manual reference count field.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5132 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-27xpp: Make some definitions static, as per sparse.Tzafrir Cohen
Fixes the xpp warnings of #13763 (except some false alarms). git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5131 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-27Fix xpp compile problems on kernel < 2.6.16Tzafrir Cohen
Support for kernels that use the older hotplug support rather than the newer uevent. Fixes the xpp issue from #13427. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5130 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-27kernel.h: cleanup DAHDI_FLAG_* defines, no functional change.Tzafrir Cohen
Define the DAHDI_FLAG_* using the DAHDI_FLAGBIT_* enum values. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5127 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-22Need to make sure we check for udevadm in addition to udevinfo.Jason Parker
Some silly person (or people) decided that it wasn't useful to have in their distro... *cough* git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5124 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-22Fix building on big endian machines.Jason Parker
(closes issue #13754) Reported by: shrift Patches: wctdm-powerpc.patch uploaded by irroot (license 52) Tested by: shrift git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5121 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-22wct1xxp: fix error handling at device startup.Tzafrir Cohen
And also give more useful error messages if things go bad. (closes issue #13607) Patches: wct1xxp_pci.diff uploaded by tzafrir (license 46) Tested by: klaus3000 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5118 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-22xpp FXS init script: Do use high-pass filter.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5115 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-21An experimental OSLEC echocan module.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5111 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-21dahdi-trunk: ignore the generated README.html .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5107 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-21dahdi-linux README: better place for build requirements.Tzafrir Cohen
(We'll have to put a content there one of these days) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5106 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-21Fix headers numbering.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5105 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-16xpp: start migration from procfs to sysfs.Tzafrir Cohen
* Sysfs representation for XPDs: /sys/bus/xpds/devices/<bus>:<unit>:<subunit> * Astribanks sysfs directories now include the XPDs as subdirectories: e.g. /sys/bus/astribanks/devices/xbus-00/00:3:0 * procfs control interface deprecated: conditioned by OLD_PROC (defaults to off). Control functionality moved to sysfs: * xbus attributes: cls connector label status timing waitfor_xpds xbus_state * XPDs can have driver-specific attributes. Common attriubtes: blink chipregs span * PRI-specific attributes: pri_clocking pri_dchan pri_cas pri_alarms pri_layer1 pri_localloop pri_protocol * The Astribank attribute "xbus_state" is read/write. Reading it shows the current state of the Astribank. Writing "start" or "stop" allows a software equivalent of connect or disconnect respectively. * When an Astribank is ready it sends an "online" event. Whenever its not ready (e.g. at the time of disconnect) it sends an "offline" event. Use astribank_hook.sample to handle those. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5097 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-14If the vpmad032 firmware needs to be reloaded, make sure we use the same slotShaun Ruffell
in the ifaces array. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5090 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-10- Ensure that the source format is considered when selecting a transcoder.Shaun Ruffell
- When a command is to be retried, turn off the TX_COMPLETE flag before resubmitting it to the hardware. This should elimate some of the warnings printed to the kernel log in the wctc4xxp_transmit_cmd function. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5084 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-09a micro-optimization found while creslin and i spent four or five hours ↵Kevin P. Fleming
tracking down a very complex problem git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5068 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-06use the same logic here as elsewhere for releasing echocan module referencesKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5064 a0bf4364-ded3-4de4-8d8a-66a801d63aff