[svn-commits] kpfleming: branch 1.4 r1887 - in /branches/1.4: ./
wct4xxp/base.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon Jan 22 13:59:04 MST 2007
Author: kpfleming
Date: Mon Jan 22 14:59:03 2007
New Revision: 1887
URL: http://svn.digium.com/view/zaptel?view=rev&rev=1887
Log:
Merged revisions 1886 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r1886 | kpfleming | 2007-01-22 14:58:30 -0600 (Mon, 22 Jan 2007) | 2 lines
might be good if i committed the working version of this code...
........
Modified:
branches/1.4/ (props changed)
branches/1.4/wct4xxp/base.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wct4xxp/base.c?view=diff&rev=1887&r1=1886&r2=1887
==============================================================================
--- branches/1.4/wct4xxp/base.c (original)
+++ branches/1.4/wct4xxp/base.c Mon Jan 22 14:59:03 2007
@@ -3098,6 +3098,7 @@
unsigned int check1, check2;
int laws[4] = { 0, };
int x;
+ unsigned int vpm_capacity;
struct firmware embedded_firmware;
const struct firmware *firmware = &embedded_firmware;
#if !defined(HOTPLUG_FIRMWARE)
@@ -3131,7 +3132,7 @@
laws[x] = 1;
}
- switch (get_vpm450m_capacity(wc)) {
+ switch ((vpm_capacity = get_vpm450m_capacity(wc))) {
case 64:
#if defined(HOTPLUG_FIRMWARE)
if ((request_firmware(&firmware, oct064_firmware, &wc->dev->dev) != 0) ||
@@ -3143,6 +3144,7 @@
embedded_firmware.data = _binary_OCT6114D_64D_ima_start;
embedded_firmware.size = _binary_OCT6114D_64D_ima_start;
#endif
+ break;
case 128:
#if defined(HOTPLUG_FIRMWARE)
if ((request_firmware(&firmware, oct128_firmware, &wc->dev->dev) != 0) ||
@@ -3154,8 +3156,9 @@
embedded_firmware.data = _binary_OCT6114D_128D_ima_start;
embedded_firmware.size = _binary_OCT6114D_128D_ima_start;
#endif
+ break;
default:
- printk("Unsupported channel capacity found on VPM module.\n");
+ printk("Unsupported channel capacity found on VPM module (%d).\n", vpm_capacity);
return;
}
More information about the svn-commits
mailing list