[svn-commits] tzafrir: branch linux/2.4 r10156 - /linux/branches/2.4/drivers/dahdi/xpp/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Aug 28 04:42:54 CDT 2011


Author: tzafrir
Date: Sun Aug 28 04:42:50 2011
New Revision: 10156

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10156
Log:
xpp: FXS: new 2+6 module has no digital I/O ports

This module is recognized via subtype==4

Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>

Modified:
    linux/branches/2.4/drivers/dahdi/xpp/card_fxs.c

Modified: linux/branches/2.4/drivers/dahdi/xpp/card_fxs.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.4/drivers/dahdi/xpp/card_fxs.c?view=diff&rev=10156&r1=10155&r2=10156
==============================================================================
--- linux/branches/2.4/drivers/dahdi/xpp/card_fxs.c (original)
+++ linux/branches/2.4/drivers/dahdi/xpp/card_fxs.c Sun Aug 28 04:42:50 2011
@@ -399,7 +399,7 @@
 	else
 		regular_channels = min(8, subunit_ports);
 	channels = regular_channels;
-	if(unit == 0)
+	if(unit == 0 && subtype != 4)
 		channels += 6;	/* 2 DIGITAL OUTPUTS, 4 DIGITAL INPUTS */
 	xpd = xpd_alloc(xbus, unit, subunit, subtype, subunits, sizeof(struct FXS_priv_data), proto_table, channels);
 	if(!xpd)




More information about the svn-commits mailing list