summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
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-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 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-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-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-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-22revert r4442 that was not necessary. there were broken tarballs on the ↵Kevin P. Fleming
public downloads.digium.com site, and for some reason it was not updating to the proper versions stored in the master repository. anyone who has this problem of not getting the proper .bin file names should perform a 'make distclean' and try rebuilding and reinstalling. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4448 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-22fixing damage caused by r4445... the unregister_chrdev() call was *not* ↵Kevin P. Fleming
removed in r4436, it was moved to the top of the function so that we remove all possible paths opening devices provided by this module as early as possible in the unload process. however, while fixing this i realized that the class_unregister_device() calls need to happen before unregister_chrdev(), so those are now at the top of the function as well git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4447 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-22Slightly better error hadling: if we failed to register a major deviceTzafrir Cohen
type, don't create pointless files in /sys that will oops on remove. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4446 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-22Add the class_unregioster that was dropped in r4435 to allow unloadingTzafrir Cohen
and reloading zaptel. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4445 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-22This is most likely a highly irresponsible commit, butSteve Murphy
I hacked this makefile so I could do a 'sudo make install', and not have it die when I hit the firmware download and install. Two problems. The tar files aren't extracted to get the .bin; and the tarfiles that are downloaded have the zaptel-* file names, not the expected dahdi-* file names. I most likely did it all wrong. I leave it to an expert to do things correctly. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4442 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-20No need to restore the user in the tar files for the firmware images. Use theShaun Ruffell
current user. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4430 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-20Revery unnecessary udelayMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4426 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
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-17some more minor fixes... the equivalent of zaptel r4356 is now included hereKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4383 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-17file does not need to be executable, Makefile will make it that way when ↵Kevin P. Fleming
creating usable version of it git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4382 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-17ensure that CRC_CCITT support is enabled when DAHDI is built in-treeKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4380 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-17get non-hotplug firmware building working againKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4379 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-17Move the xpp utilities to the tools side.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4374 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-17Adapt xpp init_card_* scripts to dahdi:Tzafrir Cohen
* No more dependency in zconf/ * Add new config file: xpp.conf * Use new perl module XppConfig.pm that read this config file. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4373 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-06-17Make the xpp drivers build with dahdi.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4370 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23Update Linux Support Services copyright references to DigiumMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4351 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23make wctdm.h a public header fileKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4345 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