summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authorfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-09 16:53:31 +0000
committerfile <file@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-09 16:53:31 +0000
commit945919894806abc41df162693024597e8827a40a (patch)
tree083f8d1f5c06f89ad2b8058f5aec56ba0c1c754d /wct4xxp
parent285abad21ae017baa82cf1709bdbf1372c405a4a (diff)
Drop the need for header files by using non-versioned binary files.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2136 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/base.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 3811a95..5d1373a 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -47,11 +47,6 @@
#include "wct4xxp.h"
#include "vpm450m.h"
-#ifdef HOTPLUG_FIRMWARE
-#include "../firmware/zaptel-fw-oct6114-064.h"
-#include "../firmware/zaptel-fw-oct6114-128.h"
-#endif
-
/*
* Tasklets provide better system interactive response at the cost of the
* possibility of losing a frame of data at very infrequent intervals. If
@@ -3135,9 +3130,9 @@ static void t4_vpm450_init(struct t4 *wc)
switch ((vpm_capacity = get_vpm450m_capacity(wc))) {
case 64:
#if defined(HOTPLUG_FIRMWARE)
- if ((request_firmware(&firmware, zaptel_fw_oct6114_064, &wc->dev->dev) != 0) ||
+ if ((request_firmware(&firmware, "zaptel-fw-oct6114-064.bin", &wc->dev->dev) != 0) ||
!firmware) {
- printk("VPM450: firmware %s not available from userspace\n", zaptel_fw_oct6114_064);
+ printk("VPM450: firmware zaptel-fw-oct6114-064.bin not available from userspace\n");
return;
}
#else
@@ -3153,9 +3148,9 @@ static void t4_vpm450_init(struct t4 *wc)
break;
case 128:
#if defined(HOTPLUG_FIRMWARE)
- if ((request_firmware(&firmware, zaptel_fw_oct6114_128, &wc->dev->dev) != 0) ||
+ if ((request_firmware(&firmware, "zaptel-fw-oct6114-128.bin", &wc->dev->dev) != 0) ||
!firmware) {
- printk("VPM450: firmware %s not available from userspace\n", zaptel_fw_oct6114_128);
+ printk("VPM450: firmware zaptel-fw-oct6114-128.bin not available from userspace\n");
return;
}
#else