summaryrefslogtreecommitdiff
path: root/wcte12xp/vpmadt032.h
diff options
context:
space:
mode:
Diffstat (limited to 'wcte12xp/vpmadt032.h')
-rw-r--r--wcte12xp/vpmadt032.h37
1 files changed, 31 insertions, 6 deletions
diff --git a/wcte12xp/vpmadt032.h b/wcte12xp/vpmadt032.h
index 5d8ae53..55620f1 100644
--- a/wcte12xp/vpmadt032.h
+++ b/wcte12xp/vpmadt032.h
@@ -1,11 +1,37 @@
+/*
+ * Digium, Inc. Wildcard TE12xP T1/E1 card Driver
+ *
+ * Written by Michael Spiceland <mspiceland@digium.com>
+ *
+ * Adapted from the wctdm24xxp and wcte11xp drivers originally
+ * written by Mark Spencer <markster@digium.com>
+ * Matthew Fredrickson <creslin@digium.com>
+ * William Meadows <wmeadows@digium.com>
+ *
+ * Copyright (C) 2007, Digium, Inc.
+ *
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
#ifndef _VPM150M_H
#define _VPM150M_H
-#include "../zaptel.h"
#include "wcte12xp.h"
-#include <linux/pci.h>
-#include <linux/firmware.h>
-#include <linux/list.h>
struct t1_firmware {
const struct firmware *fw;
@@ -45,8 +71,6 @@ typedef struct t1_firmware* GPAK_FILE_ID; /* G.PAK Download file identifier */
#define VPM150M_ACTIVE 4
#define VPM150M_MAX_DATA 1
-static const char *vpm150m_firmware = "VPMADT032.bin";
-
struct vpm150m_cmd {
unsigned short address;
unsigned short data[VPM150M_MAX_DATA];
@@ -118,4 +142,5 @@ int gpakReadFile(
unsigned char *pBuffer, /* pointer to buffer for storing bytes */
unsigned int NumBytes /* number of bytes to read */
);
+
#endif