summaryrefslogtreecommitdiff
path: root/misc/zaptel/files/patch-tau32pci::tau32pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/zaptel/files/patch-tau32pci::tau32pci.c')
-rw-r--r--misc/zaptel/files/patch-tau32pci::tau32pci.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/misc/zaptel/files/patch-tau32pci::tau32pci.c b/misc/zaptel/files/patch-tau32pci::tau32pci.c
deleted file mode 100644
index 5267618eb052..000000000000
--- a/misc/zaptel/files/patch-tau32pci::tau32pci.c
+++ /dev/null
@@ -1,24 +0,0 @@
-
-$FreeBSD$
-
---- tau32pci/tau32pci.c
-+++ tau32pci/tau32pci.c
-@@ -2785,10 +2785,18 @@
- }
-
- /* set interrupt handler */
-+#if __FreeBSD_version < 700031
- error = bus_setup_intr (dev, board->tau32_irq, INTR_TYPE_CLK | INTR_FAST, tau32_intr, board, &board->tau32_intrhand);
-+#else
-+ error = bus_setup_intr (dev, board->tau32_irq, INTR_TYPE_CLK | INTR_FAST, NULL, tau32_intr, board, &board->tau32_intrhand);
-+#endif
- if(error) {
- printf ("tau32_%d: Can't use fast interrupts, switching to generic\n", unit);
-+#if __FreeBSD_version < 700031
- error = bus_setup_intr (dev, board->tau32_irq, INTR_TYPE_CLK, tau32_intr, board, &(board->tau32_intrhand));
-+#else
-+ error = bus_setup_intr (dev, board->tau32_irq, INTR_TYPE_CLK, NULL, tau32_intr, board, &(board->tau32_intrhand));
-+#endif
- }
-
-