summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp
AgeCommit message (Collapse)Author
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
2009-04-20xpp firmware: stability fixes for firmwares of new AstribanksTzafrir Cohen
FPGA_1161.hex: xpp rev 7007 PIC_TYPE_*.hex: xpp rev 7000 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6409 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-20xpp: Do use information about number of ports the Astribank providesTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6408 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-20xpp: Fix FXS calibration (dec rather than hex)Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6407 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-16xpp fxs/fxo: PCM and DTMF fixesTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6393 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-16xpp fxs: Notify the user just one about wrong VMWI configTzafrir Cohen
From xpp rev. 6974. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6386 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-16xpp fxs: Ignore registers of disabled SLICsTzafrir Cohen
From xpp rev. 6979 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6377 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-16xpp bri: explicitly turn off leds on startupTzafrir Cohen
If NT/TE was changed (e.g: happened because of firmware bug) We would be left with a lit led we don't know about. From xpp rev. 6990 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6376 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-10Move astribank_hook from linux to tools. Install it by defaultTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6344 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-02Update the sample udev astribank_hook for TwinStarTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6312 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-02XPP: support for 116x Astribanks.Tzafrir Cohen
* New software to load in the udev rules * New control protocol ("MPP") * More modular FPGA firmware From Xorcom rev. 6963. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6311 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-02XPP FPGA Firmware updates: firmware rev. 6943.Tzafrir Cohen
Minor bug fixes git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6302 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-02Reduce the rate for a potentially annoying messageTzafrir Cohen
This message is used when an xpp span is a DAHDI sync master but also set to take timing from the DAHDI master. This means wrong settings: user is wasting CPU cycles. However notifying the user about it every second is still too much. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6301 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-17xpp USB_FW.hex rev 6885: fixes reading label from USBTzafrir Cohen
Previous USB_FW.hex, 6770, has failed to properly read the USB iSerial field ("Label" in xpp terms). This is fixed here. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6191 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-16Move dahdi_config.h to be under include/dahdi/Tzafrir Cohen
This makes dahdi_config.h part of the "offcial" interface to external modules. Practically most of its configuration items are internal to dahdi-base. But some are intended for other drivers. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6177 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-12A better sample xpp.confTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6136 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-12xpp init_card_* scripts now less verboseTzafrir Cohen
* Demote some messages to be debug messages. * Rephrase the message about defaults for the PRI module (the driver's defaults are used, which is OK) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6135 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-06Workarounds for SLUB sysfs problems in kernel 2.6.22 with CONFIG_SLUB and ↵Wendell Thompson
CONFIG_SLUB_DEBUG, as in Fedora Core 6. Fixes kernel oops when loading/unloading dahdi modules. DAHDI-226 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6096 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-05xpp: FPGA firmwares 6799Tzafrir Cohen
New FPGA firmware with a number of bug fixes. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6079 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-01New XPP code: xpp rev 6795:Tzafrir Cohen
* Fix cases where the command_queue overflowed during initialization. - Also add a 'command_queue_length' parameter to xpp.ko * More migrations to sysfs: - Add a 'transport' attribute to our astribank devices which points to the usb device we use. E.g: /sys/bus/astribanks/devices/xbus-00/transport is symlinked to ../../../../../../devices/pci0000:00/0000:00:10.4/usb5/5-4 - Move /proc/xpp/XBUS-??/XPD-??/span to /sys/bus/xpds/devices/??:?:?/span - Migrate from /proc/xpp/sync to: /sys/bus/astribanks/drivers/xppdrv/sync - New 'offhook' attribute in: /sys/bus/xpds/devices/??:?:?/offhook * PRI: change the "timing" priority to match the convention used by other PRI cards -- I.e: lower numbers (not 0) have higher priority. * FXO: - Power denial: create two module parameters instead of hard-coded constants (power_denial_safezone, power_denial_minlen). For sites that get non-standard power-denial signals from central office on offhook. - Don't hangup on power-denial, just notify Dahdi and wait for - Fix caller-id detection for the case central office sends it before first ring without any indication before. Asterisk's desicion. * USB_FW.hex: - Fixes cases where firmware loading would fail. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6046 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-02-09Fix building DAHDI with module unloading disabledTzafrir Cohen
As moduel_refcount is only used for debugging, disable it in this non-common case. (Closes issue #14402) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5987 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-20Newer FPGA firmwares: rev 6268Tzafrir Cohen
* FPGA_1141.hex 6268 2008-10-27 * FPGA_1151.hex 6268 2008-10-27 * FPGA_1131.hex 6177 2008-09-26 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5759 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19Bump xpp drivers version to trunk-6630.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5710 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19xpp: add driftinfo attributes; pcm sync bugfixTzafrir Cohen
* Add an extra sysfs Astribank attribute for drift information * PCM synchronization bugfix git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5709 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19xpp: allow a longer path for init_dir.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5708 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-18xpp: sysfs attribute arrays should be NULL-Terminated.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5688 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-18xpp.r6616: More sysfs migration, FXO enhancements, BRI fixesTzafrir Cohen
* Fix cases where the command_queue overflowed during initialization. * More migrations to sysfs: - Add a 'transport' attribute to our astribank devices which points to the usb device we use. E.g: /sys/bus/astribanks/devices/xbus-00/transport is symlinked to ../../../../../../devices/pci0000:00/0000:00:10.4/usb5/5-4 - Move /proc/xpp/XBUS-??/XPD-??/span to /sys/bus/xpds/devices/??:?:?/span - Migrate from /proc/xpp/sync to: /sys/bus/astribanks/drivers/xppdrv/sync * PRI: change the "timing" priority to match the convention used by other PRI cards -- I.e: lower numbers (not 0) have higher priority. * FXO: - Power denial: create two module parameters instead of hard-coded constants (power_denial_safezone, power_denial_minlen). For sites that get non-standard power-denial signals from central office on offhook. - Don't hangup on power-denial, just notify Dahdi and wait for - Fix caller-id detection for the case central office sends it before first ring without any indication before. Asterisk's desicion. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5663 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-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-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-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-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-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-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-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-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-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-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