summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xpp/perl_modules/Dahdi/Chans.pm4
-rw-r--r--xpp/perl_modules/Dahdi/Hardware/PCI.pm3
2 files changed, 6 insertions, 1 deletions
diff --git a/xpp/perl_modules/Dahdi/Chans.pm b/xpp/perl_modules/Dahdi/Chans.pm
index 1ae5ef5..a869ae4 100644
--- a/xpp/perl_modules/Dahdi/Chans.pm
+++ b/xpp/perl_modules/Dahdi/Chans.pm
@@ -143,7 +143,7 @@ sub new($$$$$$) {
$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 @@ sub new($$$$$$) {
# 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.
diff --git a/xpp/perl_modules/Dahdi/Hardware/PCI.pm b/xpp/perl_modules/Dahdi/Hardware/PCI.pm
index cea2a09..1a4e36d 100644
--- a/xpp/perl_modules/Dahdi/Hardware/PCI.pm
+++ b/xpp/perl_modules/Dahdi/Hardware/PCI.pm
@@ -152,6 +152,9 @@ my %pci_ids = (
'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";