aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp/isp_freebsd.h
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2007-04-02 01:04:20 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2007-04-02 01:04:20 +0000
commit9a1b0d43c2f8d1deb2221cb48d3c0227875cc5fa (patch)
tree301dc2dba02ff47c95da310a9856c01c9754f539 /sys/dev/isp/isp_freebsd.h
parent7045ea1ddea177b576a7a552c8ae4182e3f59376 (diff)
Notes
Diffstat (limited to 'sys/dev/isp/isp_freebsd.h')
-rw-r--r--sys/dev/isp/isp_freebsd.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h
index a3f70249aae9..e7cfb192c192 100644
--- a/sys/dev/isp/isp_freebsd.h
+++ b/sys/dev/isp/isp_freebsd.h
@@ -98,7 +98,7 @@
#endif
#if __FreeBSD_version < 700000
-typedef void ispfwfunc(int, int, int, const void **);
+typedef void ispfwfunc(int, int, int, void **);
#endif
#ifdef ISP_TARGET_MODE
@@ -532,4 +532,10 @@ int isp_mstohz(int);
#include <dev/isp/isp_library.h>
+/*
+ * XXX: Temp
+ */
+#if ISP_DEFAULT_ROLES == ISP_ROLE_BOTH
+#error "Dual Role Temporarily Unsupported"
+#endif
#endif /* _ISP_FREEBSD_H */