summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2008-07-01Fixes a problem where the first invocation of 'make install' will not downloadSean Bright
dahdi-fw-oct6114-128 and subsequently fails on install. This may be a bug in GNU Make 3.81 as both the reporter and I are running the same version and experiencing the same issue. (closes issue #12967) Reported by: dimas Patches: 0012967.patch uploaded by seanbright (license 71) Tested by: dimas git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4490 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-29Fix crash in dahdi-base on channel close. From Zaptel r4348.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4477 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-28* builder now works under dahdi as well.Tzafrir Cohen
* ADded test_git_kernel command 'driver_version' Reporting it is of no busyniss of the builder script. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4474 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-28Add builder - a script to test-build dahdi vs. various kernel versions.Tzafrir Cohen
Also include other test_kernel_git from http://svn.digium.com/view/zaptel?view=rev&revision=4375 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4473 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-28* Generate the modpost program to be able to complete a build.Tzafrir Cohen
* Clean, in order to guarantee everything belongs to this version/build . * "test" is now "build". git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4470 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