summaryrefslogtreecommitdiffstats
path: root/sys/dev/ciss/cissvar.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-12-02 06:17:16 +0000
committermsmith <msmith@FreeBSD.org>2001-12-02 06:17:16 +0000
commit73a800ff5fbdadbd91904d6da8434ae9363eeb58 (patch)
treea0a63536a4877ffb42233d792609e1f90ce2656f /sys/dev/ciss/cissvar.h
parent32d44d8f95669743ed489a1650decd6a65b3d2c6 (diff)
downloadFreeBSD-src-73a800ff5fbdadbd91904d6da8434ae9363eeb58.zip
FreeBSD-src-73a800ff5fbdadbd91904d6da8434ae9363eeb58.tar.gz
Catch up with the proc -> d_thread_t change.
Diffstat (limited to 'sys/dev/ciss/cissvar.h')
-rw-r--r--sys/dev/ciss/cissvar.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/ciss/cissvar.h b/sys/dev/ciss/cissvar.h
index 937409a..725118a 100644
--- a/sys/dev/ciss/cissvar.h
+++ b/sys/dev/ciss/cissvar.h
@@ -72,6 +72,14 @@
#define CISS_MAX_EVENTS 32
/************************************************************************
+ * Compatibility with older versions of FreeBSD
+ */
+#if __FreeBSD_version < 440001
+#warning testing old-FreeBSD compat
+typedef struct proc d_thread_t;
+#endif
+
+/************************************************************************
* Command queue statistics
*/
@@ -89,7 +97,7 @@ struct ciss_qstat
/************************************************************************
* Driver version. Only really significant to the ACU interface.
*/
-#define CISS_DRIVER_VERSION 20011009
+#define CISS_DRIVER_VERSION 20011201
/************************************************************************
* Driver data structures
OpenPOWER on IntegriCloud