summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctc4xxp/base.c
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
commitd76e222c79d85e03c016e6ca8fb9b3c498cb041a (patch)
tree856ff4841d3f06f91d0eed67fe2a32e1dea39bdd /drivers/dahdi/wctc4xxp/base.c
parent5c9af24d5a76f99c4b7859060c5442ccbb647e7c (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
Diffstat (limited to 'drivers/dahdi/wctc4xxp/base.c')
-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);