Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openvox-dahdi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Raptor Engineering Public Development
openvox-dahdi
Commits
36974503
Commit
36974503
authored
Oct 03, 2018
by
Keith Morgan
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove support for driver wcte12xp.
parent
3748456d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
3414 deletions
+0
-3414
drivers/dahdi/Kbuild
drivers/dahdi/Kbuild
+0
-1
drivers/dahdi/Kconfig
drivers/dahdi/Kconfig
+0
-17
drivers/dahdi/wcte12xp/Kbuild
drivers/dahdi/wcte12xp/Kbuild
+0
-5
drivers/dahdi/wcte12xp/base.c
drivers/dahdi/wcte12xp/base.c
+0
-3224
drivers/dahdi/wcte12xp/wcte12xp.h
drivers/dahdi/wcte12xp/wcte12xp.h
+0
-167
No files found.
drivers/dahdi/Kbuild
View file @
36974503
...
...
@@ -11,7 +11,6 @@ obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_OCT612X) += oct612x/
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCT4XXP) += wct4xxp/
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTC4XXP) += wctc4xxp/
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTDM24XXP) += wctdm24xxp/
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTE12XP) += wcte12xp/
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTE13XP) += wcte13xp.o
wcte13xp-objs := wcte13xp-base.o wcxb_spi.o wcxb.o wcxb_flash.o
...
...
drivers/dahdi/Kconfig
View file @
36974503
...
...
@@ -146,23 +146,6 @@ config DAHDI_WCTDM24XXP
If unsure, say Y.
config DAHDI_WCTE12XP
tristate "Digium Wildcard VoiceBus digital card Support"
depends on DAHDI && DAHDI_VOICEBUS
default DAHDI
---help---
This driver provides support for the following Digium
Wildcard products:
* TE120P (PCI/PCI-X)
* TE121 (PCI/PCI-X)
* TE122 (PCI-E)
To compile this driver as a module, choose M here: the
module will be called wcte12xp.
If unsure, say Y.
config DAHDI_PCIRADIO
tristate "PCI Radio Support"
depends on DAHDI && PCI
...
...
drivers/dahdi/wcte12xp/Kbuild
deleted
100644 → 0
View file @
3748456d
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTE12XP) += wcte12xp.o
EXTRA_CFLAGS += -I$(src)/.. -Wno-undef
wcte12xp-objs := base.o
drivers/dahdi/wcte12xp/base.c
deleted
100644 → 0
View file @
3748456d
This diff is collapsed.
Click to expand it.
drivers/dahdi/wcte12xp/wcte12xp.h
deleted
100644 → 0
View file @
3748456d
/*
* Digium, Inc. Wildcard TE12xP T1/E1 card Driver
*
* Written by Michael Spiceland <mspiceland@digium.com>
*
* Adapted from the wctdm24xxp and wcte11xp drivers originally
* written by Mark Spencer <markster@digium.com>
* Matthew Fredrickson <creslin@digium.com>
* William Meadows <wmeadows@digium.com>
*
* Copyright (C) 2007-2010, Digium, Inc.
*
* All rights reserved.
*
*/
/*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;
* the project provides a web site, mailing lists and IRC
* channels for your use.
*
* This program is free software, distributed under the terms of
* the GNU General Public License Version 2 as published by the
* Free Software Foundation. See the LICENSE file included with
* this program for more details.
*/
#ifndef _WCTE12XP_H
#define _WCTE12XP_H
/* Comment to disable VPM support */
#define VPM_SUPPORT 1
#define WC_MAX_IFACES 8
#ifdef VPM_SUPPORT
#define MAX_TDM_CHAN 31
#endif
#define SDI_CLK (0x00010000)
#define SDI_DOUT (0x00020000)
#define SDI_DREAD (0x00040000)
#define SDI_DIN (0x00080000)
#define EFRAME_SIZE 108
#define ERING_SIZE 16
/* Maximum ring size */
#define EFRAME_GAP 20
#define SFRAME_SIZE ((EFRAME_SIZE * DAHDI_CHUNKSIZE) + (EFRAME_GAP * (DAHDI_CHUNKSIZE - 1)))
#define PCI_WINDOW_SIZE ((2 * 2 * 2 * SFRAME_SIZE) + (2 * ERING_SIZE * 4))
#define MAX_COMMANDS 16
#define NUM_EC 4
#define __CMD_PINS (1 << 18)
/* CPLD pin read */
#define __CMD_LEDS (1 << 19)
/* LED Operation */
#define __CMD_RD (1 << 20)
/* Read Operation */
#define __CMD_WR (1 << 21)
/* Write Operation */
#define __LED_ORANGE (1<<3)
#define __LED_GREEN (1<<2)
#define __LED_RED (1<<1)
#define SET_LED_ORANGE(a) (a | __LED_ORANGE)
#define SET_LED_RED(a) ((a | __LED_RED) & ~__LED_GREEN)
#define SET_LED_GREEN(a) ((a | __LED_GREEN) & ~__LED_RED)
#define UNSET_LED_ORANGE(a) (a & ~__LED_ORANGE)
#define UNSET_LED_REDGREEN(a) (a | __LED_RED | __LED_GREEN)
#define CMD_BYTE(slot, a, is_vpm) (slot*6)+(a*2)+is_vpm
/* only even slots */
//TODO: make a separate macro
enum
linemode
{
T1
=
1
,
E1
,
J1
,
};
struct
command
{
struct
list_head
node
;
struct
completion
complete
;
u8
data
;
u8
ident
;
u8
cs_slot
;
u16
address
;
u32
flags
;
};
struct
vpm150m
;
struct
t1
{
spinlock_t
reglock
;
unsigned
char
txident
;
unsigned
char
rxident
;
unsigned
char
statreg
;
/* bit 0 = vpmadt032 int */
struct
{
unsigned
int
nmf
:
1
;
unsigned
int
sendingyellow
:
1
;
}
flags
;
unsigned
char
txsigs
[
16
];
/* Copy of tx sig registers */
int
alarmcount
;
/* How much red alarm we've seen */
int
losalarmcount
;
int
aisalarmcount
;
int
yelalarmcount
;
const
char
*
variety
;
char
name
[
80
];
unsigned
long
blinktimer
;
int
loopupcnt
;
int
loopdowncnt
;
#define INITIALIZED 1
#define SHUTDOWN 2
#define READY 3
#define IOERROR 4
unsigned
long
bit_flags
;
unsigned
long
alarmtimer
;
unsigned
char
ledstate
;
unsigned
char
vpm_check_count
;
struct
dahdi_device
*
ddev
;
struct
dahdi_span
span
;
/* Span */
struct
dahdi_chan
*
chans
[
32
];
/* Channels */
struct
dahdi_echocan_state
*
ec
[
32
];
/* Echocan state for channels */
#ifdef CONFIG_VOICEBUS_ECREFERENCE
struct
dahdi_fifo
*
ec_reference
[
32
];
#else
unsigned
char
ec_chunk1
[
32
][
DAHDI_CHUNKSIZE
];
unsigned
char
ec_chunk2
[
32
][
DAHDI_CHUNKSIZE
];
#endif
unsigned
long
ctlreg
;
struct
voicebus
vb
;
atomic_t
txints
;
struct
vpmadt032
*
vpmadt032
;
struct
vpmoct
*
vpmoct
;
unsigned
long
vpm_check
;
struct
work_struct
vpm_check_work
;
/* protected by t1.reglock */
struct
list_head
pending_cmds
;
struct
list_head
active_cmds
;
struct
timer_list
timer
;
struct
work_struct
timer_work
;
struct
workqueue_struct
*
wq
;
unsigned
int
not_ready
;
/* 0 when entire card is ready to go */
};
#define t1_info(t1, format, arg...) \
dev_info(&t1->vb.pdev->dev , format , ## arg)
#define t1_notice(t1, format, arg...) \
dev_notice(&t1->vb.pdev->dev , format , ## arg)
/* Maintenance Mode Registers */
#define LIM0 0x36
#define LIM0_LL (1<<1)
#define LIM1 0x37
#define LIM1_RL (1<<1)
#define LIM1_JATT (1<<2)
/* Clear Channel Registers */
#define CCB1 0x2f
#define CCB2 0x30
#define CCB3 0x31
#endif
Raptor Engineering Development Team
@raptor-development
mentioned in commit
ea4a9e4f
·
Mar 26, 2022
mentioned in commit
ea4a9e4f
mentioned in commit ea4a9e4f3017caa92c262519185159109a461e57
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment