summaryrefslogtreecommitdiff
path: root/wct4xxp.c
diff options
context:
space:
mode:
authormartinp <martinp@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-09-02 22:23:37 +0000
committermartinp <martinp@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-09-02 22:23:37 +0000
commit4e7d8961e2949b5dd88b150b679b7800e8f30401 (patch)
tree6b9723975fb96c99bfaa3c868b44ac0020ae49fd /wct4xxp.c
parentf3ac57c43fe52f591326e2a65c97c42f28229dcb (diff)
Get rid of the Double missed interrupt message every time you load the driver
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@238 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp.c')
-rwxr-xr-xwct4xxp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wct4xxp.c b/wct4xxp.c
index d3bbad6..f1f1b15 100755
--- a/wct4xxp.c
+++ b/wct4xxp.c
@@ -1409,6 +1409,8 @@ static int __devinit t4_init_one(struct pci_dev *pdev, const struct pci_device_i
wc->memaddr = pci_resource_start(pdev, 0);
wc->memlen = pci_resource_len(pdev, 0);
wc->membase = ioremap(wc->memaddr, wc->memlen);
+ /* This rids of the Double missed interrupt message after loading */
+ wc->last0 = 1;
#if 0
if (!request_mem_region(wc->memaddr, wc->memlen, wc->variety))
printk("wct4: Unable to request memory region :(, using anyway...\n");