[Asterisk-cvs] zaptel wcte11xp.c, NONE, 1.1 Makefile, 1.52, 1.53 wct4xxp.c, 1.51, 1.52 wct4xxp-diag.c, 1.1, 1.2

markster at lists.digium.com markster at lists.digium.com
Thu Oct 14 11:21:47 CDT 2004


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv12908

Modified Files:
	Makefile wct4xxp.c wct4xxp-diag.c 
Added Files:
	wcte11xp.c 
Log Message:
Add wcte11xp driver


--- NEW FILE: wcte11xp.c ---
/*
 * Digium, Inc.  Wildcard TE110P T1/PRI card Driver
 *
 * Written by Mark Spencer <markster at linux-support.net>
 *            Matthew Fredrickson <creslin at linux-support.net>
 *            William Meadows <wmeadows at linux-support.net>
 *
 * Copyright (C) 2004, 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
[...1530 lines suppressed...]
}

static void __exit t1xxp_cleanup(void)
{
	pci_unregister_driver(&t1xxp_driver);
}

MODULE_PARM(alarmdebounce, "i");
MODULE_PARM(loopback, "i");
MODULE_PARM(t1e1override, "i");
MODULE_PARM(clockextra, "i");
MODULE_PARM(debug, "i");
MODULE_DESCRIPTION("Wildcard T100P/E100P Zaptel Driver");
MODULE_AUTHOR("Mark Spencer <markster at linux-support.net>");
#ifdef MODULE_LICENSE
MODULE_LICENSE("GPL");
#endif

module_init(t1xxp_init);
module_exit(t1xxp_cleanup);

Index: Makefile
===================================================================
RCS file: /usr/cvsroot/zaptel/Makefile,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- Makefile	26 Sep 2004 03:34:29 -0000	1.52
+++ Makefile	14 Oct 2004 15:22:08 -0000	1.53
@@ -52,7 +52,7 @@
 TZOBJS=zonedata.lo tonezone.lo
 LIBTONEZONE=libtonezone.so.1.0
 MODULES=zaptel tor2 torisa wcusb wcfxo wcfxs \
-	ztdynamic ztd-eth wct1xxp wct4xxp # ztdummy
+	ztdynamic ztd-eth wct1xxp wct4xxp wcte11xp # ztdummy
 #MODULES+=wcfxsusb
 
 MODULESO=$(shell for x in $(MODULES); do echo "$$x.o "; done )
@@ -108,6 +108,9 @@
 wct1xxp.o:wct1xxp.c zaptel.h
 	$(HOSTCC) $(KFLAGS) -c wct1xxp.c
 
+wcte11xp.o:wcte11xp.c zaptel.h
+	$(HOSTCC) $(KFLAGS) -c wcte11xp.c
+
 wct4xxp.o:wct4xxp.c zaptel.h
 	$(HOSTCC) $(KFLAGS) -c wct4xxp.c
 

Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- wct4xxp.c	22 Jul 2004 23:33:54 -0000	1.51
+++ wct4xxp.c	14 Oct 2004 15:22:08 -0000	1.52
@@ -1420,7 +1420,7 @@
 	unsigned int falcver;
 
 	version = t4_pci_in(wc, WC_VERSION);
-	printk("TE410P version %08x\n", version);
+	printk("TE410P version %08x, burst %s\n", version, noburst ? "OFF" : "ON");
 
 	/* Make sure DMA engine is not running and interrupts are acknowledged */
 	wc->dmactrl = 0x0;

Index: wct4xxp-diag.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp-diag.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- wct4xxp-diag.c	9 Jul 2003 21:48:21 -0000	1.1
+++ wct4xxp-diag.c	14 Oct 2004 15:22:08 -0000	1.2
@@ -238,6 +238,7 @@
 	{ 0x4c, "FRS0" },
 	{ 0x4d, "FRS1" },
 	{ 0x4e, "FRS2" },
+	{ 0x4f, "Old FRS1" },
 	{ 0x50, "FECL" },
 	{ 0x51, "FECH" },
 	{ 0x52, "CVCL" },




More information about the svn-commits mailing list