summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-03-23 23:48:27 +0000
committerShaun Ruffell <sruffell@digium.com>2009-03-23 23:48:27 +0000
commit0ef392bd802a3c7b91ef26202fa0db89ad71f612 (patch)
tree856ff4841d3f06f91d0eed67fe2a32e1dea39bdd
parent32d6a9e6cc43e654e2a9170a58e2eac3d2b7f63a (diff)
Setup the TC400M to poll the own bit on the descriptor ring.
On certain systems having the hardware poll the descriptor ring provides more reliable operation that strobbing the transmit demand poll and receive demand poll register. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6219 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/wctc4xxp/base.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/dahdi/wctc4xxp/base.c b/drivers/dahdi/wctc4xxp/base.c
index 297235d..c39460a 100644
--- a/drivers/dahdi/wctc4xxp/base.c
+++ b/drivers/dahdi/wctc4xxp/base.c
@@ -955,6 +955,8 @@ wctc4xxp_receive_demand_poll(struct wcdte *wc)
static inline void
wctc4xxp_transmit_demand_poll(struct wcdte *wc)
{
+ return;
+# if 0
__wctc4xxp_setctl(wc, 0x0008, 0x00000000);
/* \todo Investigate why this register needs to be written twice in
@@ -964,6 +966,7 @@ wctc4xxp_transmit_demand_poll(struct wcdte *wc)
* problem with the dte firmware.
*/
__wctc4xxp_setctl(wc, 0x0008, 0x00000000);
+#endif
}
/* Returns the size, in bytes, of a CSM_ENCAPS packet, given the number of
@@ -2409,7 +2412,7 @@ wctc4xxp_hardware_init(struct wcdte *wc)
(newjiffies > jiffies))
msleep(1);
- wctc4xxp_setctl(wc, 0x0000, reg);
+ wctc4xxp_setctl(wc, 0x0000, reg | 0x60000);
/* Configure watchdogs, access, etc */
wctc4xxp_setctl(wc, 0x0030, 0x00280048);