summaryrefslogtreecommitdiff
path: root/tdm/xivo_tdm.c
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@proformatique.com>2012-03-02 16:28:31 +0100
committerGuillaume Knispel <gknispel@proformatique.com>2012-03-02 16:28:31 +0100
commit7ae567a9c2203d63142c3fdf1d4db7a2bab22071 (patch)
tree854736271bcc7ff499d81c26bada33b8b5fc6a5f /tdm/xivo_tdm.c
parent59a7c543a70e59763a70ab71dae97da2d0febd86 (diff)
g/cs_n2/leb_cs_debug/
Diffstat (limited to 'tdm/xivo_tdm.c')
-rw-r--r--tdm/xivo_tdm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdm/xivo_tdm.c b/tdm/xivo_tdm.c
index ef170b1..ed9c4a3 100644
--- a/tdm/xivo_tdm.c
+++ b/tdm/xivo_tdm.c
@@ -134,7 +134,7 @@ static struct xivo_tdm_callbacks_struct xivo_tdm_callbacks;
/* our local counters are coded on one byte: */
#define LOCAL_CPT_MASK (0xffu)
-static u8 __iomem *g_cs_n2;
+static u8 __iomem *g_leb_cs_debug;
struct local_cpt {
u8 tail;
@@ -462,12 +462,12 @@ EXPORT_SYMBOL(xivo_tdm_put_port);
int xivo_tdm_config_port(
struct xivo_tdm_port* xtp,
unsigned int port_config,
- u8 __iomem *cs_n2)
+ u8 __iomem *leb_cs_debug)
{
icp_status_t status;
icp_hssacc_port_config_params_t hss_port_config;
- g_cs_n2 = cs_n2;
+ g_leb_cs_debug = leb_cs_debug;
if (port_config >= ICP_HSSDRV_PORT_CONFIG_DELIMITER) {
printk(KERN_ERR "%s: invalid port config %u\n",
@@ -954,8 +954,8 @@ void xivo_tdm_trigger_handler(void)
DBG_TRACE("-- rx -- %lu\n", delta_tsc);
}
- if (g_cs_n2)
- writeb(0, g_cs_n2);
+ if (g_leb_cs_debug)
+ writeb(0, g_leb_cs_debug);
do {
const u32 rx_entry = vrxq_info->queue.content[ // volatile