summaryrefslogtreecommitdiff
path: root/drivers/dahdi/Kbuild
AgeCommit message (Collapse)Author
2012-02-22sysfs channels: dahdi-sysfs-chan.cTzafrir Cohen
* Move sysfs class and device files management into dahdi-sysfs-chan.c * This does not change functionality, just a preparation for later code cleanups and improvements. Signed-off-by: Oron Peled <oron.peled@xorcom.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Acked-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10463 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2012-01-17Build OSLEC EC if in the treeTzafrir Cohen
Build the OSLEC echo canceller (drivers/staging/echo and dahdi_echocan_oslec) if the code of oslec is present in the tree. Also closing another issue regarding documentation of building OSLEC, as it is now even clearer than before. Patch has been used in the Debian package for quite some time. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> (closes issue DAHLIN-110) Reported by: biohumanoid (Pavel Selivanov) Patches: oslec_auto.diff uploaded by tzafrir (license 5035) (closes issue DAHLIN-261) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10440 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2012-01-03Avoid building PCI devices if kernel has no PCITzafrir Cohen
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10397 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-02-28dahdi: Do not rebuild dahdi-base.c when only updating the version.Shaun Ruffell
This moves the version string into dahdi-version.c that is then linked into dahdi-base.c and dahdi-sysfs.c. This speeds builds on slow computers since dahdi-base.c and dahdi-sysfs.c does not need to be rebuilt if only the version string is changing. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Oron Peled <oron.peled@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9777 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-01-16Remove the (now) duplicate ruleTzafrir Cohen
Now that makefw has the proper name, the rule to create it is automatically generated by Kbuild. Removed. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9632 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-01-16Fixes accidental generation of drvers/dahdi/$(obj)Tzafrir Cohen
If we tell Kbuild (at least of some versions) that the host program is $obj/makefw , it will attempt to create the full path of $(obj) for it under the current $(obj). git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9630 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2011-01-16Refactor SysFS code to dahdi-sysfs.cTzafrir Cohen
* Refactor SysFS and device-related code to drivers/dahdi/dahdi-sysfs.c . * Move common headers to drivers/dahdi/dahdi.h . This commit merely moves existing code and should have no functional change. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Acked-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Oron Peled <oron.peled@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9628 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-17dahdi: Check if wait_for_completion_timeout is backported.Shaun Ruffell
CentOS4 has this backported in their 2.6.9 kernel. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8641 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-25dahdi_dynamic: Add TDMoE Multi-Frame support.Shaun Ruffell
Add TDMoE Multi-Frame support as described in the article at the following URL: http://www.thrallingpenguin.com/articles/tdmoe-mf.htm TDMoE-MF is known to be implemented in hardware solutions from Redfone Communications. This patch additionally implements RCU within dahdi_dynamic to decrease lock contention, latency, and context switching. Because of the use of RCU locking, all prior known issues with loading and unloading of the modules are resolved, providing the spans are shutdown with "dahdi_cfg -s". It also contains an attempt, which works, at fixing a kernel change with skb_linearize(). The use of kernel version number does not work with SuSE SLES 10, as it appears they have backported the 2.6.18 change in to their 2.6.16 version. This merges in the work Jbenden did at: http://svn.digium.com/svn/dahdi/team/jbenden/tdmoe-mf@8102 (issue #13483) Patch by: JBenden Reported by: JBenden Tested by: JBenden git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8103 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-22replace dahdi_dummy with internal timingTzafrir Cohen
* Enable the internal timing of DAHDI. * Disable building dahdi_dummy. * Have dahdi provide the alias 'dahdi_dummy', to allow 'modprobe dahdi_dummy' to still work. The code of dahdi_dummy is still kept, as some people may need the extra flexibility it provides. Those people are advised, though, to let us know what features are missing from the core module. Running 'modprobe dahdi_dummy' explicitly in a script or having 'dahdi_dummy' in /etc/dahdi/modules is thus also discourged. This patch is intentionally small (stripped of documentation) to simplify backporting. Documentation will follow. Review: https://reviewboard.asterisk.org/r/518/ git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8053 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-12Make complex conditionals work with GNU make 3.80. Much uglier, but it ↵Jason Parker
works on RHEL4. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6688 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-12use proper case for variable name :-)Kevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6610 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-12Allow VPMADT032 and HPEC binary modules to be used on platforms where ARCH ↵Kevin P. Fleming
is set to the new 'generic' x86 flavor available in recent Linux kernel releases git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6609 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-12emit warning messages when DAHDI is being built on a CPU architecture that ↵Kevin P. Fleming
does not support HPEC or the VPMADT032 firmware loader, so the user will know why they are not included clean up the conditional logic for these items in the Kbuild file git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6607 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-29voicebus: Move common vpmadt032 interface into voicebus module.Shaun Ruffell
The voicebus library was previously linked into both the wcte12xp and wctdm24xxp drivers. It is now broken out into it's own module and the common parts of the vpmadt032 interface are now located in that module to reduce duplication between the wcte12xp and wctdm24xxp drivers. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6527 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-21Fix version in dahdi_dummy workaround. Tzafrir Cohen
Followup to #14166 . Also note that this is specific to some Fedora versions. See e.g. http://cvs.fedoraproject.org/viewvc/rpms/kernel/F-10/kernel.spec?r1=1.1206.2.2&r2=1.1206.2.3 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5778 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-20Some distributions have backported the hrtimer_get_expires andShaun Ruffell
hrtimer_set_expires functions from 2.6.28. Therefore, dahdi-linux cannot use the linux version code to determine if these functions are present or not. This patch actively checks for those functions. Closes Issue: #14166 Thanks to bergolth for the patch. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5770 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19No oops. No panic.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5696 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-18Temporarilly disabling building xpp/ while hunting a show-stopper onTzafrir Cohen
xpp.ko git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5680 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-28Adding the wcb4xxp driver, a native dahdi driver for the B410P module.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5150 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-28Undoing commit r5148. Copying directly from a private branch causes problemsShaun Ruffell
when trying to view the history of a file. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5149 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-28Adding the wcb4xxp driver, a native dahdi driver for the B410P module.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5148 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-21An experimental OSLEC echocan module.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5111 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-25Support MODULES_EXTRA and SUBDIRS_EXTRA to add extra modules from theTzafrir Cohen
make command line. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4829 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-06-20merge modular_ec branch, which adds modular echocan support and lots of ↵Kevin P. Fleming
minor fixes and improvements... seems to work properly, except the usecount on the echocan modules never increments above zero, so they are unloadable when they should not be git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4436 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-19Remove some unused magic intended to build MMX automatically.Tzafrir Cohen
Reimplement this with Kconfig if you really want it. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4407 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-19Delete generated pciradio and tor2 firmware files on 'make clean'.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4404 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-17another batch of fixes for non-hotplug firmware handlingKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4385 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-17commit a bunch of stuff, primarily basic support for allowing drivers/dahdi ↵Kevin P. Fleming
and include/dahdi to be 'dropped in' to a Linux kernel tree and be part of the buildsystem also includes a bunch of minor Makefile improvements, and relocating the firmware directory to the directory where the modules live, since that is the only place it is needed still left to do: handle version.h creation when in native-kernel-tree mode, fix up lots of problems left with firmware file handling git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4377 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-17... And also build xpp/ Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4371 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23Change ZAPMMX to DAHDIMMXMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4344 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-22fix up all remaining references to zaptel/zapata (except for the ones in ↵Kevin P. Fleming
credits that need to be left alone) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4324 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-21replace Zaptel with DAHDI, ZAPTEL with DAHDI, ZAPATA with DAHDIKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4322 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-21rename modules from zt prefixes to dahdi prefixesKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4319 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-21modules build nowKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4318 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-21start copying kernel bitsKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4315 a0bf4364-ded3-4de4-8d8a-66a801d63aff