[dahdi-commits] tzafrir: branch linux/2.5 r10157 -	/linux/branches/2.5/drivers/dahdi/xpp/
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Sun Aug 28 04:45:18 CDT 2011
    
    
  
Author: tzafrir
Date: Sun Aug 28 04:45:15 2011
New Revision: 10157
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10157
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.5/drivers/dahdi/xpp/card_fxs.c
Modified: linux/branches/2.5/drivers/dahdi/xpp/card_fxs.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.5/drivers/dahdi/xpp/card_fxs.c?view=diff&rev=10157&r1=10156&r2=10157
==============================================================================
--- linux/branches/2.5/drivers/dahdi/xpp/card_fxs.c (original)
+++ linux/branches/2.5/drivers/dahdi/xpp/card_fxs.c Sun Aug 28 04:45:15 2011
@@ -398,7 +398,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 dahdi-commits
mailing list