[aadk-commits] qwell: uClinux/trunk r612 - /uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/z...
SVN commits to the AADK repository
aadk-commits at lists.digium.com
Mon Sep 10 13:01:09 CDT 2007
Author: qwell
Date: Mon Sep 10 13:01:08 2007
New Revision: 612
URL: http://svn.digium.com/view/aadk?view=rev&rev=612
Log:
Remove some very old debug messages and comments... this should have never been committed.
Please don't kill me. :)
Modified:
uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/sx00i.c
Modified: uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/sx00i.c
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/sx00i.c?view=diff&rev=612&r1=611&r2=612
==============================================================================
--- uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/sx00i.c (original)
+++ uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/sx00i.c Mon Sep 10 13:01:08 2007
@@ -68,7 +68,6 @@
*/
static int loopcurrent = 20;
-//qwelldebug
static alpha indirect_regs[] =
{
{0,255,"DTMF_ROW_0_PEAK",0x55C2},
@@ -856,7 +855,6 @@
return 0;
}
if(!wait_access(wc, card)) {
-//qwelldebug
sx00_setreg(wc, card, IDA_LO,(unsigned char)(data & 0xFF));
sx00_setreg(wc, card, IDA_HI,(unsigned char)((data & 0xFF00)>>8));
sx00_setreg(wc, card, IAA,address);
@@ -895,15 +893,11 @@
{
unsigned char i;
-// printk("Qwell-debug-w00t-start\n");
for (i=0; i<sizeof(indirect_regs) / sizeof(indirect_regs[0]); i++)
{
-//qwelldebug
-// printk("Qwell-debug-w00t, %d, %d, %d\n", i, indirect_regs[i].address, indirect_regs[i].initial);
if(sx00_proslic_setreg_indirect(wc, card, indirect_regs[i].address,indirect_regs[i].initial))
return -1;
}
-// printk("Qwell-debug-w00t-end\n");
return 0;
}
@@ -1814,25 +1808,20 @@
sx00_setreg(wc, card, 14, 0x10);
}
-// printk("Qwell-debug-10\n");
if (sx00_proslic_init_indirect_regs(wc, card)) {
printk(KERN_INFO "Indirect Registers failed to initialize on module %d.\n", card);
return -1;
}
-// printk("Qwell-debug-11\n");
/* Clear scratch pad area */
sx00_proslic_setreg_indirect(wc, card, 97,0);
-// printk("Qwell-debug-12\n");
/* Clear digital loopback */
sx00_setreg(wc, card, 8, 0);
-// printk("Qwell-debug-13\n");
/* Revision C optimization */
sx00_setreg(wc, card, 108, 0xeb);
-// printk("Qwell-debug-14\n");
/* Disable automatic VBat switching for safety to prevent
Q7 from accidently turning on and burning out. */
sx00_setreg(wc, card, 67, 0x17);
More information about the aadk-commits
mailing list