summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcb4xxp/base.c
AgeCommit message (Collapse)Author
2010-10-20wcb4xxp: Support beroNet BN4S0e PCI Express cardsvn_2.3Tzafrir Cohen
Add extra PCI IDs to support "beroNet BN4S0e PCI Express 4x S0 Karte". Origin: http://bugs.debian.org/600839 Merged revisions 9451 via svnmerge from http://svn.digium.com/svn/dahdi/linux/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.3@9455 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-25wcb4xxp - add Swyx 4xS0 SX2 QuadBri PCI IDsTzafrir Cohen
(closes issue #16493) Reported by: nic_bellamy Patches: wcb4xxp_swyx_sx2_quadbri_pci_ids.patch uploaded by nic bellamy (license 299) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8423 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-25Some more wcb4xxp PCI IDs for Junghanns cardsTzafrir Cohen
Resolve two open issues. One of them that accidentally wasn't closed. (closes issue #15446) (closes issue #16447) Reported by: lpistone Tested by: okrief git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8421 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-12-28autoconf.h is inlcuded by Kbuild at the command-line.Tzafrir Cohen
No need to explicitly include it. Also note that <linux/autoconf.h> is invalid as of 2.6.33 . It is now <generated/autoconf.h> (but anyway, should not be #include-d directly). git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7732 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-23Commit fix for problem frames being received for WCB4XXP_HDLC_BUF_LEN ↵Matthew Fredrickson
multiple sized frames. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7640 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-23git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7639 ↵Matthew Fredrickson
a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-23Commit fix for problem frames being received for WCB4XXP_HDLC_BUF_LEN ↵Matthew Fredrickson
multiple sized frames. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7638 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-12wcb4xxp: More hw ids for HFC-4S & HFC-8SShaun Ruffell
Solves a typo in Junghanns 8 ports card hw id & adds more hardware ids (Beronet mainly). All tested ok in asterisk-es group. (issue #15446) Reported by: Odicha Patches: wcb4xxp dahdi-linux.patch uploaded by Odicha (license 700) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7576 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Remove 'magic' debug member from b4xxp structure.Shaun Ruffell
Remove some stale debug code. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6824 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Fix LED handling in OpenVox cards (maybe also others)Tzafrir Cohen
This commit adds extra functions to handle LEDs in the non-B410P cards. Only tested on OpenVox cards. OpenVox cards are known to have slightly different LEDs so this is likely to be slightly broken for others. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6821 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Fix PCM handling for various cards.Tzafrir Cohen
HFC-8S cards behave quite differently than HFC-4S cards here. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6818 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02More B410P differences: Clock and NT/TE.Tzafrir Cohen
* The B410P reads the NT/TE switches the other way around from other cards. * Its clock is also 1/2 of that of other cards, which causes wierd PCM on an unmodified driver. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6817 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02The B410P differs from other HFC-xS cards with respect to the EC unitTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6816 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: support for other HFC-xS cards (info, not code)Tzafrir Cohen
This commit includes skeleton for the support of other HFC-[248]S-based cards. It still does not include all the different cases for different cards. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6815 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Adjust debug filter code to number of ports.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6814 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Extra bit macros that a needed for kernels < 2.6.24Tzafrir Cohen
Macros borrowed from xpp/ . git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6813 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02wcb4xxp: Don't assume we have 4 spans (ports).Tzafrir Cohen
First part of extra hfcmulti drivers: the number of ports is still hardwired to 4, but just in a single place. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6812 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-30wcb4xxp: Start the first span with default settings on load.Shaun Ruffell
One of the spans of the B410P is now started at driver load time in order to allow it to provide early timing to asterisk, before the card has been properly configured. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6799 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-29dahdi-base: Enable DAHDI to manage the reference counts for the board drivers.Shaun Ruffell
Adds a struct module 'owner' member to the dahdi_span structure and updates all the board drivers to set this member before registering the span. This allows the core of dahdi to maintain the reference counts on the channels itself. (closes issue #10601) Reported by: Matti git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6794 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-01wcb4xxp: Define mmiowb if not already defined.Shaun Ruffell
Linux kernel 2.6.9 does not define mmiowb. DAHDI-253 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6552 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-29echocan: Improve interface for echo cancelers.Shaun Ruffell
Echo cancelers are now able to report if they are able to automatically disable their NLP portions in the presence of tones in the audio stream. Also, the interface is changed to allow user space to just disable the NLP portion of the echo canceler. These changes improve fax and modem handling in DAHDI. This commit merges in the changes on http://svn.digium.com/svn/dahdi/linux/team/kpfleming/echocan_work Patch by: kpfleming Also contains improvements to CED tone detection. (closes issue #13286) Reported by: viniciusfontes git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6529 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-02-10Set default alarm debounce time to 500ms to debounce NT L1 deactivationsMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5997 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-30Make sure that we pass alarm notification up the stack whenever alarms occur ↵Matthew Fredrickson
on the B410P git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5924 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-28Ensure the teignorered parameter is exposed as a module parameter.Shaun Ruffell
Related to issue #14031 . git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5870 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-17wcb4xxp: Do not propogate received HDLC frames on channels that are notShaun Ruffell
configured. Issue: DAHDI-217 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5576 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-17wcb4xxp: Use %p to print out pointer values.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5568 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-17wcb4xxp: Remove an endless while loop.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5562 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-11Remove an include that is not available before 2.6.15 and is not neededTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5484 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Additional debugging code.Shaun Ruffell
Patch provided by akohlsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5374 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Add a 'spanfilter' module parameter in order to isolate debugging informationShaun Ruffell
to just the spans of interest. Patch provided by akohlsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5369 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Use counter of pending HDLC frames in order to eliminate the need to send aShaun Ruffell
zero-byte frame to kick start the transmission process. Patch provided by akohlsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5368 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-24Do not make assumptions about the number of ready HDLC frames on HDLC RXShaun Ruffell
interrupt. This prevents libpri from becoming confused when many HDLC frames arrive before the driver can service them or a false RX interrupt is received. Patch provided by akolsmith. Issue DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5367 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-20Force the FIFO to reset when the file handle is closed.Shaun Ruffell
Patch provided by akohlsmith. Issue: DAHDI-178 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5350 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-17A fix for an issue with corruption on the D-Channels.Shaun Ruffell
Patch provided by akohlsmith. Issue: DAHDI-173. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5315 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-05Whitespace changes for the coding standard.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5257 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-05rate limiting a diagnostic printk.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5249 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-05Remove the loopback module parameter since it's not implemented yet.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5232 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-05Allow the wcb4xxp to take all the signalling types.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5230 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-31Changing the spantype to indicate whether it is a TE or NT BRI port.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5196 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-31Fix the FIFO configuration to use the data from the EC correctlyMatthew Fredrickson
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5195 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-31wcb4xxp: Set the spantype to "BRI" (to show e.g. in dahdi_scan)Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5191 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-31wcb4xxp: Claim to provide DACS for dahdi_scanTzafrir Cohen
dahdi_scan can tell that a span is digital if its first channel has DACS signalling capability. While this is probably not supported by the current driver, it is also harmless. Without this, dahdi_scan shows the spans of this card as analog. (Done after consulting with sruffel) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5190 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-31Fix for a case where a span might not always come back up after a disconnect.Shaun Ruffell
Patch provided by akohlsmith. Issue: DAHDI-174 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5186 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-29The /proc/wcb4xxp should not be created once for each card but rather once forShaun Ruffell
all cards. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5175 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-29By default, do not create the procfs entry for the wcb4xxp driver.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5171 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-10-28fix a large number of warnings found by sparse, the kernel code sanity ↵Kevin P. Fleming
checking tool. some of these fixes are non-optimal (casting 'unsigned long' to '__user void *'), but are unavoidable in many cases. started from tzafrir's patch, did most of the work myself. (closes issue #13763) Reported by: tzafrir Patches: sparse_fixes_1.diff uploaded by tzafrir (license 46) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5162 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