diff options
Diffstat (limited to 'misc/zaptel/files/patch-wcte11xp::wcte11xp.c')
| -rw-r--r-- | misc/zaptel/files/patch-wcte11xp::wcte11xp.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/misc/zaptel/files/patch-wcte11xp::wcte11xp.c b/misc/zaptel/files/patch-wcte11xp::wcte11xp.c deleted file mode 100644 index bf2da4cf83e1..000000000000 --- a/misc/zaptel/files/patch-wcte11xp::wcte11xp.c +++ /dev/null @@ -1,30 +0,0 @@ - -$FreeBSD$ - ---- wcte11xp/wcte11xp.c -+++ wcte11xp/wcte11xp.c -@@ -1953,14 +1953,24 @@ - - /* 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 *))wcte11xp_interrupt, sc, &(sc->irq_handler)); -+#else -+ error = bus_setup_intr(dev, sc->wc_irq, INTR_TYPE_CLK | INTR_FAST, NULL, -+ (void (*)(void *))wcte11xp_interrupt, sc, &(sc->irq_handler)); -+#endif - - if(error) - { - printf("Can not use fast interrupts, switching to generic\n"); -+#if __FreeBSD_version < 700031 - error = bus_setup_intr(dev, sc->wc_irq, INTR_TYPE_CLK, - (void (*)(void *))wcte11xp_interrupt, sc, &(sc->irq_handler)); -+#else -+ error = bus_setup_intr(dev, sc->wc_irq, INTR_TYPE_CLK, NULL, -+ (void (*)(void *))wcte11xp_interrupt, sc, &(sc->irq_handler)); -+#endif - } - - if (error) { |
