summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_ioctl.h
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2002-02-17 06:38:22 +0000
committermjacob <mjacob@FreeBSD.org>2002-02-17 06:38:22 +0000
commit8c6ee7cab4c4f47c5652ca5fd0f54eadef837ecf (patch)
tree4b5809d88934000efd29f4627f9c755121e85b54 /sys/dev/isp/isp_ioctl.h
parente1d1a0bec1ec24f22bee3e1e4b28b6e2e4b37f09 (diff)
downloadFreeBSD-src-8c6ee7cab4c4f47c5652ca5fd0f54eadef837ecf.zip
FreeBSD-src-8c6ee7cab4c4f47c5652ca5fd0f54eadef837ecf.tar.gz
Support for f/w crash dumps (2200 && 23XX).
If you want QLogic to look at a potential f/w problem for FC cards, you really have to provide them info in the format they expect. This involves dumping a lot of hardware registers (> 300 16 bit registers) and a lot of SRAM (> 128KB minimum). Thus all of this code is #ifdef protected which will become an option so that the memory allocation of where to dump the crash image is pretty expensive. It's worth it if you have a reproducible problem because they have some tools that can tell them, given the f/w version, the precise state of everything. MFC after: 1 week
Diffstat (limited to 'sys/dev/isp/isp_ioctl.h')
-rw-r--r--sys/dev/isp/isp_ioctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_ioctl.h b/sys/dev/isp/isp_ioctl.h
index 61f921b..d3af96f 100644
--- a/sys/dev/isp/isp_ioctl.h
+++ b/sys/dev/isp/isp_ioctl.h
@@ -101,3 +101,9 @@ typedef struct {
#define ISP_GET_STATS _IOR(ISP_IOC, 6, isp_stats_t)
#define ISP_CLR_STATS _IO(ISP_IOC, 7)
+
+/*
+ * Get F/W crash dump
+ */
+#define ISP_GET_FW_CRASH_DUMP _IOR(ISP_IOC, 10, void *)
+#define ISP_FORCE_CRASH_DUMP _IO(ISP_IOC, 11)
OpenPOWER on IntegriCloud