From 0b8190ca64542c8c9e95c7504427ca9e2c0fc085 Mon Sep 17 00:00:00 2001 From: russell Date: Thu, 9 Dec 2004 05:13:32 +0000 Subject: 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 --- wcfxs.c | 8 ++++++++ zconfig.h | 6 ++++++ 2 files changed, 14 insertions(+) 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 -- cgit v1.2.3