diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-07-19 02:05:03 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-07-19 02:05:03 +0000 |
commit | 1653b9dd29b780476545f807d8ae52efcae02048 (patch) | |
tree | 2a294416304758ba5e863b53bfde2d5349cb17e0 /wct4xxp | |
parent | 2b0a37c8514e587dcb396807ec0616dff0256f82 (diff) |
update to 2.6.22 request_irq() flags
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2756 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r-- | wct4xxp/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c index 0cb69dd..68247c6 100644 --- a/wct4xxp/base.c +++ b/wct4xxp/base.c @@ -3249,14 +3249,14 @@ static int __devinit t4_init_one(struct pci_dev *pdev, const struct pci_device_i #ifdef SUPPORT_GEN1 - if (request_irq(pdev->irq, (dt->flags & FLAG_2NDGEN) ? t4_interrupt_gen2 :t4_interrupt, SA_INTERRUPT | SA_SHIRQ, (wc->numspans == 2) ? "wct2xxp" : "wct4xxp", wc)) + if (request_irq(pdev->irq, (dt->flags & FLAG_2NDGEN) ? t4_interrupt_gen2 :t4_interrupt, ZAP_IRQ_SHARED_DISABLED, (wc->numspans == 2) ? "wct2xxp" : "wct4xxp", wc)) #else if (!(wc->tspans[0]->spanflags & FLAG_2NDGEN)) { printk("This driver does not support 1st gen modules\n"); kfree(wc); return -ENODEV; } - if (request_irq(pdev->irq, t4_interrupt_gen2, SA_INTERRUPT | SA_SHIRQ, "t4xxp", wc)) + if (request_irq(pdev->irq, t4_interrupt_gen2, ZAP_IRQ_SHARED_DISABLED, "t4xxp", wc)) #endif { printk("t4xxp: Unable to request IRQ %d\n", pdev->irq); |