[svn-commits] mattf: linux/trunk r4868 - in /linux/trunk/drivers/dahdi: ./ wct4xxp/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sat Sep 6 15:25:00 CDT 2008
Author: mattf
Date: Sat Sep 6 15:24:59 2008
New Revision: 4868
URL: http://svn.digium.com/view/dahdi?view=rev&rev=4868
Log:
Fix class_simple on old 2.6.9 kernels
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
linux/trunk/drivers/dahdi/wct4xxp/base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=4868&r1=4867&r2=4868
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Sat Sep 6 15:24:59 2008
@@ -175,6 +175,9 @@
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13)
#define CLASS_DEV_DESTROY(class, devt) \
class_device_destroy(class, devt)
+#elif LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,9) \
+#define CLASS_DEV_DESTROY(class, devt) \
+ class_simple_device_remove(devt)
#else
#define CLASS_DEV_DESTROY(class, devt) \
class_simple_device_remove(class, devt)
Modified: linux/trunk/drivers/dahdi/wct4xxp/base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/wct4xxp/base.c?view=diff&rev=4868&r1=4867&r2=4868
==============================================================================
--- linux/trunk/drivers/dahdi/wct4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wct4xxp/base.c Sat Sep 6 15:24:59 2008
@@ -184,7 +184,7 @@
utilization / max number of calls / etc. */
static int noburst = 1;
/* For 56kbps links, set this module parameter to 0x7f */
-static int hardhdlcmode = 0xff;
+static int hardhdlcmode = 0x7f;
#ifdef FANCY_ALARM
static int altab[] = {
More information about the svn-commits
mailing list