[Asterisk-cvs] zaptel wcfxs.c,1.25,1.26

markster at lists.digium.com markster at lists.digium.com
Thu Oct 9 11:21:26 CDT 2003


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv10660

Modified Files:
	wcfxs.c 
Log Message:
Make sure DC/DC converter is off while resetting


Index: wcfxs.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wcfxs.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- wcfxs.c	6 Oct 2003 05:42:55 -0000	1.25
+++ wcfxs.c	9 Oct 2003 16:47:29 -0000	1.26
@@ -799,6 +799,11 @@
 	/* Sanity check the ProSLIC */
 	if (!sane && wcfxs_proslic_insane(wc, card))
 		return -2;
+		
+	if (sane) {
+		/* Make sure we turn off the DC->DC converter to prevent anything from blowing up */
+		wcfxs_setreg(wc, card, 14, 0x10);
+	}
 
 	if (wcfxs_init_indirect_regs(wc, card)) {
 		printk(KERN_INFO "Indirect Registers failed to initialize on module %d.\n", card);




More information about the svn-commits mailing list