summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp
AgeCommit message (Collapse)Author
2010-04-19typos, mostly unkownTzafrir Cohen
Merged revisions 8539 via svnmerge from http://svn.digium.com/svn/dahdi/linux/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.3@8545 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-26Revert "dahdi: Move the definition of bool from xdefs.h into ↵Shaun Ruffell
include/dahdi/kernel.h" Reverts r8117. The wctdm24xxp driver can include <stdbool.h> directly. Reported by: seanbright git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8134 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-26dahdi: Move the definition of bool from xdefs.h into include/dahdi/kernel.hShaun Ruffell
I intend to use the bool definition in the wctdm24xxp driver and don't want to duplicate the definition. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8117 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-26xpp_debug: a helper script to use debugging parameters with names.Tzafrir Cohen
(not intended to be installed) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7964 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-12xpp: xpd_fxo: two extra parameters regarding batteryTzafrir Cohen
Make module parameters out of two constants to allow further tweaking in the detection of battery. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7883 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-11xpp: demote a message that generates some false alarms.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7843 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-10xpp: USB_FW rev 7578Tzafrir Cohen
Fixes various minor twinstar-related bugs. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7815 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-10xpp: fixes for drift calculation.Tzafrir Cohen
Should help for the case of multiple quad-PRI Astribanks on a single system. xpp rev: 7666. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7807 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-04Fix udev rules to work with more recent kernels.Tzafrir Cohen
Note that this change will not work on most older systems (e.g.: Centos5, with its udev 0.95) if the matching change of xpp_fxloader in tools (r7752) is not applied. * Replace deprecated 'BUS' with 'SUBSYSTEM' * Sysfs{} should be replaced with ATTR{}. Sadly the former is not supported in recent udev, and the latter is not supported in udev 0.95. Workaround: use PRODUCT from the environment. * Use a single rule. * While we're at it, add the missing comma to the astribank_hook line (which surprisingly worked without it). git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7753 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-12-28xpp: Fix a typo in card_fxo.Tzafrir Cohen
xpp rev: 7595 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7731 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-12-14DAHDI_AUDIO_NOTIFY: Also pass DAHDI_AUDIOMODE to channel driverTzafrir Cohen
Adds a new compile-time option DAHDI_AUDIO_NOTIFY. With it there's a new span hook, audio_notify, that gets called (if not NULL) whenever the ioctl DAHDI_AUDIOMODE is called for a channel. This can be useful to tell (in most cases) if an ISDN channel is active or not and thus allow the low-level driver to optimize traffic when channels are not active. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7691 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-12-14xpp: replace i with j to avoid overridingTzafrir Cohen
Fix a place where an inner declaration of a local 'i' shadows the declaration of an outer one. Just rename the inner one to 'j'. Reported by sparse. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7690 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-22xpp: Improved inter-Astribank drift calculation.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7625 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-22xpp: statify and line length in card_bri.cTzafrir Cohen
* checkpatch.pl nudged about line lengthes. * sparse nudged about non-static functions. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7622 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-22xpp firmware: USB firmware with support of MPP 1.4Tzafrir Cohen
xpp rev: 7419 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7615 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-22xpp firmware: fix FXS indirect register reading.Tzafrir Cohen
xpp rev: 7498 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7614 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-19xpp: rules for loading USB firmware into 1163 devices as wellTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7595 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-15xpp: card_pri: force remote refresh on CASTzafrir Cohen
Send different values on alarm to make the remote party re-read state. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7591 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-15xpp: refactor card_pri access to CAS registersTzafrir Cohen
Provide some functions to access the CAS registers for E1, T1/ESF and T1/D4. Mostly, relatively few changes. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7590 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-15xpp: No need for an osolete .version fileTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7587 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-03xpp: More E1/T1 CAS fixes. Mostly connect/disconnectTzafrir Cohen
xpp revs: mostly 7458, 7466 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7457 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-03xpp: compile fix in (mostly) unused code.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7456 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-10-12headers: sched.h was also removed from interrupts.hShaun Ruffell
Commit d43c36 made it necessary to add sched.h to more of the board drivers. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d43c36 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7392 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-09-30move the dev->bus_id fix from xpp to kernel.h: needed elsewhereTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7293 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-09-30xpp: PRI PIC firmware: T1-CAS fixesTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7276 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-09-29xpp: T1 CAS supportTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7266 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-09-29xpp: refactor pcm mask handling.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7245 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-09-29xpp: make card_hooksig an optional card method.Tzafrir Cohen
Done in preperation for T1 CAS support, as the PRI module will use RBS instead. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7244 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-09-29xpp: Add sysfs xpd attribute 'timing_priority'Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7237 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-09-29xpp: FXO init scripts: -L to list opermodesTzafrir Cohen
* '/usr/share/dahdi/init_card_2_30 -L' will now list valid opermodes * Proper usage message while we're at it. * Make input opermode case-insensitive. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7236 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-09-28xpp: Use proper get/set for device->driver_dataTzafrir Cohen
2.6.32-rc1 broke direct access to the member 'driver_data' of 'struct device'. However direct access to wasn't proper in the first place. This commit replaces direct access to dev->driver_data with dev_get_drvdata() and dev_set_drvdata(). git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7226 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-13xpp: Only define SLAB_STORE_USER on 2.6.22 if CONFIG_SLUB is set.Shaun Ruffell
Prevents a crash on 2.6.22 when CONFIG_SLAB is set and CONFIG_SLAB_DEBUG is not. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6995 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-12xpp: Don't check for the 'owner' field too soonTzafrir Cohen
The owner field should only tested after the low-level driver pre-registration method is called. xpp rev: 7287 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6967 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-12xpp: FPGA_1161.hex r7276 . Minor PRI bugfixes.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6966 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-04xpp firmware: Fixes PCM issue with FXO that is not a timing sourceTzafrir Cohen
Fixes PCM issue with an Astribank2 (116x) FXO module that is installed alongside a PRI/BRI module. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6938 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-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-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
2009-05-19xpp: remove obsolete script calibrate_slicsTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6639 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-19Replaece member bus_id with dev_name() and set_dev_name()Tzafrir Cohen
As of 2.6.26 the macros dev_name() and set_dev_name() are used to read and set (respectively) the bus_id member in sysfs. As of 2.6.30 bus_id is gone. This patch provides comaptiobility macros for older kernel versions and removes direct usage of bus_id. (closes issue #14965) Patches: xpp_2630_dev_name.diff uploaded by tzafrir (license 46) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6637 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-30xpp: A new FPGA firmware to hopefully help with BRI/FXO.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6542 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-27xpp: hard_hdlc support for the BRI module.Tzafrir Cohen
The BRI module will now use hardhdlc unless the DAHDI tree has been patched with the bri_dchan patch, in which case the old "bristuffed" code will be used. Thus it is now built by default. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6513 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-23Revert r6302 - there was no need to upload themTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6466 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-23Don't set the Id keyword on firmwares; restore original IDTzafrir Cohen
The Id SVN keyword is set locally in Xorcom and used as an identifier. That Id should not be overriden by this SVN repository. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6465 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-23xpp: FPGA_1161.hex: fix FXO PCM issues (new boards only)Tzafrir Cohen
FPGA_1161.hex rev. 7024. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6457 a0bf4364-ded3-4de4-8d8a-66a801d63aff