diff options
Diffstat (limited to 'misc/zaptel/files/patch-wcfxo::wcfxo.c')
| -rw-r--r-- | misc/zaptel/files/patch-wcfxo::wcfxo.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/misc/zaptel/files/patch-wcfxo::wcfxo.c b/misc/zaptel/files/patch-wcfxo::wcfxo.c deleted file mode 100644 index 2a79e3aff51c..000000000000 --- a/misc/zaptel/files/patch-wcfxo::wcfxo.c +++ /dev/null @@ -1,31 +0,0 @@ - -$FreeBSD$ - ---- wcfxo/wcfxo.c -+++ wcfxo/wcfxo.c -@@ -1285,14 +1285,25 @@ - - /* Now we should set up the interrupt handler */ - -+#if __FreeBSD_version < 700031 - error = bus_setup_intr(dev, sc->wc_irq, INTR_TYPE_CLK | INTR_FAST, - (void (*)(void *))wcfxo_interrupt, sc, &(sc->irq_handler)); -+#else -+ error = bus_setup_intr(dev, sc->wc_irq, INTR_TYPE_CLK | INTR_FAST, NULL, -+ (void (*)(void *))wcfxo_interrupt, sc, &(sc->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, sc->wc_irq, INTR_TYPE_CLK, - (void (*)(void *))wcfxo_interrupt, sc, &(sc->irq_handler)); -+#else -+ error = bus_setup_intr(dev, sc->wc_irq, INTR_TYPE_CLK, NULL, -+ (void (*)(void *))wcfxo_interrupt, sc, &(sc->irq_handler)); -+#endif -+ - } - - if (error) { |
