summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-11-09 14:45:20 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-11-09 14:45:20 +0000
commitd075d41293c9a400071cfed4d38da4636c84654d (patch)
treeba0455229f064d3877c1fbf35943b04a6f41d44a
parent3dc0d48292202015cc68f588702ade7f4c03be6d (diff)
Add revh fix for those who just want a software workaround
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@495 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xwctdm.c3
-rwxr-xr-xzconfig.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/wctdm.c b/wctdm.c
index e987536..149da21 100755
--- a/wctdm.c
+++ b/wctdm.c
@@ -2129,6 +2129,9 @@ static struct pci_device_id wctdm_pci_tbl[] = {
{ 0xe159, 0x0001, 0xa801, PCI_ANY_ID, 0, 0, (unsigned long) &wctdmh },
{ 0xe159, 0x0001, 0xa908, PCI_ANY_ID, 0, 0, (unsigned long) &wctdmh },
{ 0xe159, 0x0001, 0xa901, PCI_ANY_ID, 0, 0, (unsigned long) &wctdmh },
+#ifdef TDM_REVH_MATCHALL
+ { 0xe159, 0x0001, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned long) &wctdmh },
+#endif
{ 0 }
};
diff --git a/zconfig.h b/zconfig.h
index 48b0722..b897240 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