summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-12-09 05:13:32 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-12-09 05:13:32 +0000
commit0b8190ca64542c8c9e95c7504427ca9e2c0fc085 (patch)
tree1ef365cf7f815de5b8aa253012c9377079a30177
parent91785e541337fde1eeafc41bf11cfd916d7c9f26 (diff)
add tweaks to make life easier with an early RevH tdm board
git-svn-id: http://svn.digium.com/svn/zaptel/branches/v1-0@507 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xwcfxs.c8
-rwxr-xr-xzconfig.h6
2 files changed, 14 insertions, 0 deletions
diff --git a/wcfxs.c b/wcfxs.c
index 9528ae9..24f36c7 100755
--- a/wcfxs.c
+++ b/wcfxs.c
@@ -2124,6 +2124,14 @@ static struct pci_device_id wcfxs_pci_tbl[] = {
{ 0xe159, 0x0001, 0xe159, PCI_ANY_ID, 0, 0, (unsigned long) &wcfxs },
{ 0xe159, 0x0001, 0xb100, PCI_ANY_ID, 0, 0, (unsigned long) &wcfxse },
{ 0xe159, 0x0001, 0xa9fd, PCI_ANY_ID, 0, 0, (unsigned long) &wcfxsh },
+ { 0xe159, 0x0001, 0xa8fd, PCI_ANY_ID, 0, 0, (unsigned long) &wcfxsh },
+ { 0xe159, 0x0001, 0xa800, PCI_ANY_ID, 0, 0, (unsigned long) &wcfxsh },
+ { 0xe159, 0x0001, 0xa801, PCI_ANY_ID, 0, 0, (unsigned long) &wcfxsh },
+ { 0xe159, 0x0001, 0xa908, PCI_ANY_ID, 0, 0, (unsigned long) &wcfxsh },
+ { 0xe159, 0x0001, 0xa901, PCI_ANY_ID, 0, 0, (unsigned long) &wcfxsh },
+#ifdef TDM_REVH_MATCHALL
+ { 0xe159, 0x0001, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned long) &wcfxsh },
+#endif
{ 0 }
};
diff --git a/zconfig.h b/zconfig.h
index 48b0722..8052a37 100755
--- a/zconfig.h
+++ b/zconfig.h
@@ -120,5 +120,11 @@
*/
/* #define CONFIG_CAC_GROUNDSTART */
+/*
+ * Uncomment if you happen have an early TDM400P Rev H which
+ * sometimes forgets its PCI ID to have wcfxs match essentially all
+ * subvendor ID's
+ */
+/* #define TDM_REVH_MATCHALL */
#endif