From d76e222c79d85e03c016e6ca8fb9b3c498cb041a Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 23 Mar 2009 23:48:27 +0000 Subject: 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 --- drivers/dahdi/wctc4xxp/base.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'drivers/dahdi/wctc4xxp/base.c') 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); -- cgit v1.2.3