[zaptel-commits] kpfleming: branch 1.2 r1327 - /branches/1.2/wct4xxp_base.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Fri Aug 18 19:27:50 MST 2006


Author: kpfleming
Date: Fri Aug 18 21:27:49 2006
New Revision: 1327

URL: http://svn.digium.com/view/zaptel?rev=1327&view=rev
Log:
don't report the VPM servicing more spans than the card actually has

Modified:
    branches/1.2/wct4xxp_base.c

Modified: branches/1.2/wct4xxp_base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wct4xxp_base.c?rev=1327&r1=1326&r2=1327&view=diff
==============================================================================
--- branches/1.2/wct4xxp_base.c (original)
+++ branches/1.2/wct4xxp_base.c Fri Aug 18 21:27:49 2006
@@ -2726,7 +2726,7 @@
 	release_firmware(firmware);
 #endif
 	wc->vpm = T4_VPM_PRESENT;
-	printk("VPM450: Present and operational servicing %d span(s)\n", vpmspans);
+	printk("VPM450: Present and operational servicing %d span(s)\n", wc->numspans);
 }
 
 static void t4_vpm400_init(struct t4 *wc)
@@ -2861,7 +2861,7 @@
 			t4_vpm_out(wc, x, i, (x < 4) ? 0x55 : 0xAA);
 
 	} 
-	printk("VPM400%s: Present and operational servicing %d span(s)\n", (gen2vpm ? "(2nd Gen)" : ""), vpmspans);
+	printk("VPM400%s: Present and operational servicing %d span(s)\n", (gen2vpm ? "(2nd Gen)" : ""), wc->numspans);
 	wc->vpm = T4_VPM_PRESENT;
 }
 



More information about the zaptel-commits mailing list