summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-02- align case with switchRussell Bryant
- constify return of sigstr() - rework implementation of fill_alarm_string to only use one call to snprintf() and avoid more complicated string building logic git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4664 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-02- use kzalloc instead of kmalloc+memsetRussell Bryant
- reformat dahdi_q_sig to match proper coding guidelines git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4662 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-02ignore tagsRussell Bryant
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4659 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-02Convert most of the existing comments in kernel.h to doxygen formatRussell Bryant
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4658 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-02convert a list of defines to an enumRussell Bryant
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4657 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-02Space out the definition of an enum, and remove an unused typedefRussell Bryant
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4655 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-01use correct logic to handle a slave channel being removed from a master ↵Kevin P. Fleming
channel, so if the master channel itself is not reconfigured it will still end up properly linking to any remaining slaves (closes issue #11611) Reported by: richvdh Tested by: tzafrir git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4653 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-01fix a couple of places where the driver assumed 4 spans were present on the cardKevin P. Fleming
(closes issue #13141) Reported by: pabelanger git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4651 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-01make skb_linearize() work for kernels <= 2.6.17 tooKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4648 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-01fix problem accepting non-linearized skbs from NIC driversKevin P. Fleming
(closes issue #13204) Reported by: biohumanoid Patches: ztd-eth.c.patch uploaded by biohumanoid (license 459) (modified by me to actually apply to DAHDI) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4643 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-31would help if we didn't copy a NULL pointer and then try to dereference it...Kevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4641 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-30use a better technique to ensure that version.h gets updated when necessaryKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4637 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-30Delete Zaptel header directory on 'make install' and remove extraneous file fromKevin P. Fleming
.PHONY git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4636 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-29missed one definition needed by Asterisk 1.6/trunkKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4630 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-29make an initial split of dahdi/kernel.h into userspace- and ↵Kevin P. Fleming
kernelspace-specific parts git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4628 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-22from r4429 of zaptel... make battery loss to red alarm translation actually workKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4624 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-21Fixed typo where chan is cleared out accidentally.Shaun Ruffell
(Related to issue #0013112) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4618 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-09Undoing accidental commit to the trunk of dahdi/linux.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4590 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-09Saving off some work in progress on half-full buffering. Still needs a methodShaun Ruffell
for dumping half the buffer on tx overrun from the user side. Also, the behavior of half-full on the rx side has not been checked. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4589 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-09Revert optimization done in rev 4436 which broke the MTP2 signalling type.Matthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4582 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-08minor improvements to uninstall-modules: add the PID to the temporary file ↵Kevin P. Fleming
name to make it less easy to accidentally duplicate, only search directories where we expect that DAHDI or Zaptel modules might be found (known installation locations, even old ones), and always uninstall old DAHDI modules before installing new ones, in case a module is no longer in the tree and shouldn't be left installed git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4575 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-08minor cleanupsKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4572 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-08clean up install and uninstall targets, and make 'uninstall' target ↵Kevin P. Fleming
completely functional git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4571 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-08make the uninstall-modules target actually work (except when DESTDIR is ↵Kevin P. Fleming
supplied), and automatically uninstall any Zaptel modules present for the KVERS kernel during installation of DAHDI git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4570 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-07wc->chans needs to be an array of pointers as struct dahdi_span expects.Shaun Ruffell
(Related to issue 0012657) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4567 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-07the initialization of wc->chans was done using NUM_CARDS in wc->cards, but ↵Kevin P. Fleming
then later wc->cards was (possibly) reduced to the actual number of cards present, so we have to check every possible slot in wc->chans for structures to free git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4563 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-07Fix accidental zeroing out of the chans member of struct wctdm.Shaun Ruffell
DAHDI-156 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4559 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-07wctdm_initialize expects the channels to already be allocated.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4558 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-07Default ring debounce timer should be higher to properly catch calleridMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4555 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-07the package name will be all lowercase, as is normalKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4552 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-06corrected sp3lling err0rDwayne M. Hubbard
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4545 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-06Point to DAHDI-tools instead of 'make config' in the end of 'makeTzafrir Cohen
install'. Closes issue #12998 . git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4540 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02fix typoKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4530 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02perform an explicit check for the destination directories for hotplug ↵Kevin P. Fleming
firmware, and issue an error message if neither of them can be found git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4529 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02install firmware last, so that if it fails, everything else will be done alreadyKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4526 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-02Linux kernel 2.6.26 is going to change the sysfs registration/destruction ↵Kevin P. Fleming
methods (again), so be prepared for it (closes issue #12944) Reported by: tzafrir git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4522 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02fix up the last few drivers for the new single-allocation channel changesKevin P. Fleming
(related to issue #12657) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4521 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-02fix remaining drivers broken by pointer type change in 'struct ↵Kevin P. Fleming
dahdi_span'... wctdm24xxp still broken, will fix in a couple of hours (related to issue #12657) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4514 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-02there is no need for the top-level Makefile to be involved in the kernel's ↵Kevin P. Fleming
build process, and removing it gets the modules installed into the proper directories in /lib/modules git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4506 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01remove some more unnecessary stuff, and update genmodconf to no longer ↵Kevin P. Fleming
support 2.4 kernels, have proper name references, etc. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4503 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01revert this... all of this stuff belongs in dahdi-toolsKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4502 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01Add the remaining files and changes needed to get 'make config' to be ↵Kevin P. Fleming
functional. (closes issue #12968) Reported by: dimas git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4497 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01Remove an incorrect comment.Jason Parker
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4494 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01Build the modules before we install them, in case we don't call the install ↵Jason Parker
target (which calls all, which calls modules) directly. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4493 a0bf4364-ded3-4de4-8d8a-66a801d63aff