aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aacraid/aacraid_var.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-12-06 21:50:24 +0000
committerWarner Losh <imp@FreeBSD.org>2019-12-06 21:50:24 +0000
commit232d88897000ac79f01d1e2e95e0f017134da7ca (patch)
treee564492a13e413d1193adca8e9de4b15f2806c2c /sys/dev/aacraid/aacraid_var.h
parentfdfcae4a2f94faf96d6701de5fc5a0775cba1e5a (diff)
Notes
Diffstat (limited to 'sys/dev/aacraid/aacraid_var.h')
-rw-r--r--sys/dev/aacraid/aacraid_var.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/sys/dev/aacraid/aacraid_var.h b/sys/dev/aacraid/aacraid_var.h
index 355a2d29def59..ac676a8768cf2 100644
--- a/sys/dev/aacraid/aacraid_var.h
+++ b/sys/dev/aacraid/aacraid_var.h
@@ -33,9 +33,7 @@
*/
#include <sys/bio.h>
-#if __FreeBSD_version >= 800000
#include <sys/callout.h>
-#endif
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/taskqueue.h>
@@ -56,38 +54,17 @@
# define AAC_DRIVER_BUILD 1
#endif
-#if __FreeBSD_version <= 601000
-#define bus_get_dma_tag(x) NULL
-#endif
-
/* **************************** NewBUS interrupt Crock ************************/
-#if __FreeBSD_version < 700031
-#define aac_bus_setup_intr(d, i, f, U, if, ifa, hp) \
- bus_setup_intr(d, i, f, if, ifa, hp)
-#else
#define aac_bus_setup_intr bus_setup_intr
-#endif
/* **************************** NewBUS CAM Support ****************************/
-#if __FreeBSD_version < 700049
-#define aac_xpt_bus_register(sim, parent, bus) \
- xpt_bus_register(sim, bus)
-#else
#define aac_xpt_bus_register xpt_bus_register
-#endif
/**************************** Kernel Thread Support ***************************/
-#if __FreeBSD_version > 800001
#define aac_kthread_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg) \
kproc_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg)
#define aac_kthread_exit(status) \
kproc_exit(status)
-#else
-#define aac_kthread_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg) \
- kthread_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg)
-#define aac_kthread_exit(status) \
- kthread_exit(status)
-#endif
/*
* Driver Parameter Definitions
@@ -362,11 +339,7 @@ struct aac_softc
void *aac_intr[AAC_MAX_MSIX]; /* interrupt handle */
struct aac_msix_ctx aac_msix[AAC_MAX_MSIX]; /* context */
eventhandler_tag eh;
-#if __FreeBSD_version >= 800000
struct callout aac_daemontime; /* clock daemon callout */
-#else
- struct callout_handle timeout_id; /* timeout handle */
-#endif
/* controller features, limits and status */
int aac_state;