[zaptel-commits] kpfleming: branch 1.2 r2754 - in /branches/1.2: ./ wctc4xxp/

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Jul 18 20:21:25 CDT 2007


Author: kpfleming
Date: Wed Jul 18 20:21:25 2007
New Revision: 2754

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2754
Log:
convert a few drivers over to current PCI module registration function

Modified:
    branches/1.2/wctc4xxp/base.c
    branches/1.2/wctdm24xxp.c
    branches/1.2/wcte12xp.c

Modified: branches/1.2/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wctc4xxp/base.c?view=diff&rev=2754&r1=2753&r2=2754
==============================================================================
--- branches/1.2/wctc4xxp/base.c (original)
+++ branches/1.2/wctc4xxp/base.c Wed Jul 18 20:21:25 2007
@@ -1843,7 +1843,7 @@
 {
 	int res;
 
-	res = pci_module_init(&wcdte_driver);
+	res = zap_pci_module(&wcdte_driver);
 	if (res)
 		return -ENODEV;
 	return 0;

Modified: branches/1.2/wctdm24xxp.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wctdm24xxp.c?view=diff&rev=2754&r1=2753&r2=2754
==============================================================================
--- branches/1.2/wctdm24xxp.c (original)
+++ branches/1.2/wctdm24xxp.c Wed Jul 18 20:21:25 2007
@@ -2899,7 +2899,7 @@
 		return -ENODEV;
 	}
 
-	res = pci_module_init(&wctdm_driver);
+	res = zap_pci_module(&wctdm_driver);
 	if (res)
 		return -ENODEV;
 	return 0;

Modified: branches/1.2/wcte12xp.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wcte12xp.c?view=diff&rev=2754&r1=2753&r2=2754
==============================================================================
--- branches/1.2/wcte12xp.c (original)
+++ branches/1.2/wcte12xp.c Wed Jul 18 20:21:25 2007
@@ -2012,7 +2012,7 @@
 {
 	int res;
 
-	res = pci_module_init(&te12xp_driver);
+	res = zap_pci_module(&te12xp_driver);
 
 	return res ? -ENODEV : 0;
 }




More information about the zaptel-commits mailing list