[svn-commits] tzafrir: tools/trunk r9079 - in /tools/trunk/xpp/perl_modules/Dahdi: ./ Hardw...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Aug 3 07:14:28 CDT 2010


Author: tzafrir
Date: Tue Aug  3 07:14:22 2010
New Revision: 9079

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9079
Log:
dahdi-perl: also detect Aligera cards

(closes issue #17783)
Reported by: frawd
Patches:
      dahdi-tools_aligera.patch uploaded by frawd (license 610)

Modified:
    tools/trunk/xpp/perl_modules/Dahdi/Chans.pm
    tools/trunk/xpp/perl_modules/Dahdi/Hardware/PCI.pm

Modified: tools/trunk/xpp/perl_modules/Dahdi/Chans.pm
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Chans.pm?view=diff&rev=9079&r1=9078&r2=9079
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Chans.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Chans.pm Tue Aug  3 07:14:22 2010
@@ -143,7 +143,7 @@
 		$type = "FXO"; # likely Rhino
 	} elsif ($fqn =~ m{---/.*}) {
 		$type = "EMPTY"; # likely Rhino, empty slot.
-	} elsif ($fqn =~ m{\b(TE[24]|WCT1|Tor2|TorISA|WP[TE]1|cwain[12]|R[124]T1)/.*}) {
+	} elsif ($fqn =~ m{\b(TE[24]|WCT1|Tor2|TorISA|WP[TE]1|cwain[12]|R[124]T1|AP40[124]|APE40[124])/.*}) {
 		# TE[24]: Digium wct4xxp
 		# WCT1: Digium single span card drivers?
 		# Tor2: Tor PCI cards
@@ -151,6 +151,8 @@
 		# WP[TE]1: Sangoma. TODO: this one tells us if it is TE or NT.
 		# cwain: Junghanns E1 card.
 		# R[124]: Rhino r1t1/rxt1 cards
+		# AP40[124]: Aligera AP40X cards
+		# APE40[124]: Aligera APE40X cards
 		$type = "PRI";
 	} elsif ($fqn =~ m{\b(WCBRI|B4|ZTHFC\d*|ztqoz\d*)/.*}) {
 		# WCBRI: The Digium Hx8 series cards with BRI module.

Modified: tools/trunk/xpp/perl_modules/Dahdi/Hardware/PCI.pm
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Hardware/PCI.pm?view=diff&rev=9079&r1=9078&r2=9079
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Hardware/PCI.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Hardware/PCI.pm Tue Aug  3 07:14:22 2010
@@ -152,6 +152,9 @@
 	'e159:0001/2151' => { DRIVER => 'ystdm8xx', DESCRIPTION => 'Yeastar YSTDM8xx'},
 
 	'e159:0001/9500:0003' => { DRIVER => 'opvxa1200', DESCRIPTION => 'OpenVox A800P' },
+
+	# Aligera
+ 	'10ee:1004'		=> { DRIVER => 'ap400', DESCRIPTION => 'Aligera AP40X/APE40X 1E1/2E1/4E1 card' },
 	);
 
 $ENV{PATH} .= ":/usr/sbin:/sbin:/usr/bin:/bin";




More information about the svn-commits mailing list