summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp
AgeCommit message (Collapse)Author
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
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-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-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-09-25XPP firmware: Only send out CAS D-channel messages when in CAS mode.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4986 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-25Fix display of indirect registers and streamline their setting.Tzafrir Cohen
* This commit fixes display of indirect registers through the chipregs (formly "slics") procfs file. Only the low byte was displayed. * It also deprecates previous {RW}S in favour of {RW}I. The prevois style is still allowed but deprecated, and thus previous scripts will still work. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4980 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-25XPP FXO: Add caller-id workaround for ESTI-DTMF (for #9096)Tzafrir Cohen
* Also rename the CID_STYLE_* constants to formal names. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4979 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-11Move udev rules xpp.rules from dahdi-tools to dahdi-linux .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4894 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-26Fix asciidoc.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4840 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-20improve compatibility with 2.6.26 and 2.6.27 kernelsKevin P. Fleming
(closes issue #13253) Reported by: raiden Patches: zap-dev.patch uploaded by smurfix on issue #13277 (license 547) zap-sema.patch uploaded by smurfix on issue #13277 (license 547) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4801 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-14Set xpp version to 6056 and reset XPP changelog.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4784 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-14Also install Astribank firmwares and init scripts to /usr/share/dahdi .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4781 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-14xpp: FXO: display signed voltage values (from xpp r6055)Tzafrir Cohen
This is only an issue with the displayed value. In case you wondered why you have battery voltage of more than 220V. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4776 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-11xpp: CAS/E1 support in the PRI module, and minor fixes.Tzafrir Cohen
* Add support for CAS in the PRI module. Use firmware rev. 5975. * Debugging parameter pcmtx_chan now accepts a dahdi channel number. * Do initialize a reserved protocol field (card_global). * The name DAHDI as used in proc/xpp/sync has 5 (not 6) letters. * Fix DTMF "channel leak" regression in the FXS module. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4761 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-11xpp: fxo: Fix support for CID_STYLE_PASS_ALWAYSTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4760 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-11A more robust test for bri_dchan support.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4759 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-11xpp_blink is a bit mask of ports, and not boolean anymore.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4758 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-04Firmware update: 5959 (FTMF and BRI ID)Tzafrir Cohen
* Fix some cases of double digits. * Fix some rare cases of a BRI unit providing incorrect directionality. * Extra debugging code in card_fxs.c to trace future DTMF issues. * Properly note Zaptel (as opposed to DAHDI) ioctls. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4695 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-03Do use printk-s without a priority when continuing previous printk.Tzafrir Cohen
Also remove a small duplication in dahdi-base.c, as I'm too lazy to fix in two separate places. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4688 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-03Change all instances of printk in DAHDI to include a priorityRussell Bryant
(closes issue #11504) Reported by: tzafrir Patches: 20080717__issue11504_dahdi_printk_without_priority.diff uploaded by bbryant (license 36) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4685 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-03Get rid of dahdi_rxsig_t typedefRussell Bryant
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4682 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-03Fix a couple last references to dahdi_txsig_t.Russell Bryant
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4680 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-03Rework the table of signalling bits for signalling types and hook statesRussell Bryant
in dahdi_rbs_sethook() to a much more readable and less error prone format. In passing, get rid of the dahdi_txsig_t typedef, and fix uses of it throughout the tree. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4679 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-06Fix yet another surviving place with CONFIG_ZAPATA_BRI_DCHANS .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4548 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02fix a problem found by the kernel 2.6.26 build process (this function is ↵Kevin P. Fleming
called from other contexts besides __exit context so it cannot be in the __exit section) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4523 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02Only set the XSP registers from a single place.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4518 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02Minor fixes following r4513:Tzafrir Cohen
* Convert card_bri as well. * memset each channel separately. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4517 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02break up large memory allocations made by digital span drivers into smaller ↵Kevin P. Fleming
ones (one allocation for each dahdi_chan structure, separate from any private structures used by the driver) (closes issue #12657) Reported by: tzafrir git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4513 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02Remove unneeded case for #ifdef DAHDI_SPANSTAT_V2 - Tzafrir Cohen
this is always the case for dahdi. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4509 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01Make the bri module built.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4487 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-29Changes in XPP initialization and configuration:Tzafrir Cohen
* The configuration for XPP init_card_* scripts is done now in /etc/dahdi/xpp.conf and uses a simple syntax (example included). For PRI modules, the 'pri_protocol' setting, determines how to configure it (E1/T1). * In Astribank PRI modules, the LED behaviour represent which ports are *CLOCK MASTER* (red color) and which are *CLOCK SLAVE* (green color). Usually (but not always), this corresponds to the NT/TE settings in Asterisk. * dahdi_genconf now replaces zapconf and deprecates genzaptelconf. Relevant configuration settings were removed from the kernel package and are implemented and described in the tools package. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4480 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-28Fixes building with kernel of RHEl 5.2. Closes issue #12889 .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4467 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-25Remove some more unused XPP code:Tzafrir Cohen
* The compatibility zt_chan_alarm macro * genzaptelconf.env is gone. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4459 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-25String fixes: dahdi.conf -> /etc/dahdi/system.conf .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4458 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-25Removed some old, unused XPP code.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4457 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-19Yet another zaptel->dahdi rename. XPP file names this time.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4418 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-19Further XPP driver adjustments:Tzafrir Cohen
* More complete Kconfig. * Verification of FXO init script moved here from tools. * Perl init scripts are verified. * Correct name XppConf*ig*. * Add the files for xpp_mmap . git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4408 a0bf4364-ded3-4de4-8d8a-66a801d63aff