[svn-commits] fjoe: freebsd/trunk r8336 - /freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Mar 13 05:37:04 CST 2010


Author: fjoe
Date: Sat Mar 13 05:36:59 2010
New Revision: 8336

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8336
Log:
- Define default value for opermode properly
- Add missing dependency on dahdi_voicebus

Modified:
    freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c

Modified: freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=8336&r1=8335&r2=8336
==============================================================================
--- freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ freebsd/trunk/drivers/dahdi/wctdm24xxp/base.c Sat Mar 13 05:36:59 2010
@@ -246,7 +246,7 @@
 static int fastringer = 0;
 static int _opermode = 0;
 #if defined(__FreeBSD__)
-static char opermode[16];
+static char opermode[16] = "FCC";
 #else
 static char *opermode = "FCC";
 #endif
@@ -5231,6 +5231,7 @@
 DRIVER_MODULE(wcwctdm24xxp, pci, wctdm_pci_driver, wctdm_devclass, wctdm_modevent, 0);
 MODULE_DEPEND(wcwctdm24xxp, pci, 1, 1, 1);
 MODULE_DEPEND(wcwctdm24xxp, dahdi, 1, 1, 1);
+MODULE_DEPEND(wcwctdm24xxp, dahdi_voicebus, 1, 1, 1);
 MODULE_DEPEND(wcwctdm24xxp, firmware, 1, 1, 1);
 #else
 MODULE_DESCRIPTION("Wildcard VoiceBus Analog Card Driver");




More information about the svn-commits mailing list