diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2007-04-26 00:11:37 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2007-04-26 00:11:37 +0000 |
commit | 559dc947292766686383f7a9e2364746b6be393d (patch) | |
tree | 1957adcda77ca0f7c9b40ff6c559cba6fda227a5 /misc/zaptel/files/patch-wct4xxp::wct4xxp.c | |
parent | FrostWire is an open-source peer-to-peer (P2P) file-sharing program. It uses (diff) |
o Update zaptel to 1.4.1;
Submitted by: Oleksandr Tymoshenko <gonzo@pbxpress.com>
o update libpri to 1.4.0;
PR: 111555
Submitted by: "Phillip N." <pneumann@gmail.com>
o update asterisk12 to 1.2.7.
Sponsored by: Sippy Software, Inc. ( http://www.sippysoft.com/ )
The reason it all is going in together is that they are interdependent.
Notes
Notes:
svn path=/head/; revision=190886
Diffstat (limited to 'misc/zaptel/files/patch-wct4xxp::wct4xxp.c')
-rw-r--r-- | misc/zaptel/files/patch-wct4xxp::wct4xxp.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/misc/zaptel/files/patch-wct4xxp::wct4xxp.c b/misc/zaptel/files/patch-wct4xxp::wct4xxp.c deleted file mode 100644 index ac7129627565..000000000000 --- a/misc/zaptel/files/patch-wct4xxp::wct4xxp.c +++ /dev/null @@ -1,35 +0,0 @@ - -$FreeBSD$ - ---- wct4xxp/wct4xxp.c -+++ wct4xxp/wct4xxp.c -@@ -3800,15 +3800,29 @@ - return ENXIO; - } - -+#if __FreeBSD_version < 700031 - error = bus_setup_intr(dev, wc->wc_irq, INTR_TYPE_CLK | INTR_FAST, - (void (*)(void *)) ((ident->device_info->flags & FLAG_2NDGEN) ? - t4_interrupt_gen2 : t4_interrupt), wc, &(wc->irq_handler)); -+#else -+ error = bus_setup_intr(dev, wc->wc_irq, INTR_TYPE_CLK | INTR_FAST, NULL, -+ (void (*)(void *)) ((ident->device_info->flags & FLAG_2NDGEN) ? -+ t4_interrupt_gen2 : t4_interrupt), wc, &(wc->irq_handler)); -+#endif -+ - if(error) - { - printf("Can't use fast interrupts falling back to normal\n"); -+#if __FreeBSD_version < 700031 - error = bus_setup_intr(dev, wc->wc_irq, INTR_TYPE_CLK, - (void (*)(void *)) ((ident->device_info->flags & FLAG_2NDGEN) ? - t4_interrupt_gen2 : t4_interrupt), wc, &(wc->irq_handler)); -+#else -+ error = bus_setup_intr(dev, wc->wc_irq, INTR_TYPE_CLK, NULL, -+ (void (*)(void *)) ((ident->device_info->flags & FLAG_2NDGEN) ? -+ t4_interrupt_gen2 : t4_interrupt), wc, &(wc->irq_handler)); -+#endif -+ - - } - |