summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/ispmbox.h
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-07-03 08:24:09 +0000
committermjacob <mjacob@FreeBSD.org>2006-07-03 08:24:09 +0000
commitfa2514423bf205fcd4d5d552ebe38852f9457594 (patch)
tree58604d0a86cb16b7926e21a19d97952de8549f42 /sys/dev/isp/ispmbox.h
parent617ea887dfddbc7da18e9cf29e731789481560ed (diff)
downloadFreeBSD-src-fa2514423bf205fcd4d5d552ebe38852f9457594.zip
FreeBSD-src-fa2514423bf205fcd4d5d552ebe38852f9457594.tar.gz
Do various fixes to support firmware loading for the 2322
(and by extension, the 2422). One peculiar thing I've found with the 2322 is that if you don't force it to do Hard LoopID acquisition, the firmware crashes. This took a while to figure out. While we're at it, fix various bugs having to do with NVRAM reading and option setting with respect to pieces of NVRAM.
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r--sys/dev/isp/ispmbox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h
index e79efa2..2ef8d51 100644
--- a/sys/dev/isp/ispmbox.h
+++ b/sys/dev/isp/ispmbox.h
@@ -46,7 +46,7 @@
/* a */
/* b */
/* c */
- /* d */
+#define MBOX_WRITE_RAM_WORD_EXTENDED 0x000d
#define MBOX_CHECK_FIRMWARE 0x000e
#define MBOX_READ_RAM_WORD_EXTENDED 0x000f
#define MBOX_INIT_REQ_QUEUE 0x0010
@@ -691,9 +691,11 @@ typedef struct isp_icb {
#define ICBXOPT_RIO_16BIT_IOCB 3
#define ICBXOPT_RIO_32BIT_IOCB 4
#define ICBXOPT_ZIO 5
+#define ICBXOPT_TIMER_MASK 0x7
#define ICBZOPT_ENA_RDXFR_RDY 0x01
#define ICBZOPT_ENA_OOF (1 << 6) /* out of order frame handling */
+#define ICBZOPT_50_OHM 0x0200
/* These 3 only apply to the 2300 */
#define ICBZOPT_RATE_ONEGB (MBGSD_ONEGB << 14)
#define ICBZOPT_RATE_TWOGB (MBGSD_TWOGB << 14)
OpenPOWER on IntegriCloud