From 059e0fa03c63025261ba8411132814046f5280f4 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Sat, 19 Aug 2006 02:27:49 +0000 Subject: don't report the VPM servicing more spans than the card actually has git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1327 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wct4xxp_base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wct4xxp_base.c') diff --git a/wct4xxp_base.c b/wct4xxp_base.c index 8dfbefd..8594611 100644 --- a/wct4xxp_base.c +++ b/wct4xxp_base.c @@ -2726,7 +2726,7 @@ static void t4_vpm450_init(struct t4 *wc) 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 @@ static void t4_vpm400_init(struct t4 *wc) 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; } -- cgit v1.2.3