diff options
author | mjacob <mjacob@FreeBSD.org> | 2002-01-03 20:43:22 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2002-01-03 20:43:22 +0000 |
commit | 3f3ff202f445b9cf12972786a14946639f6b144d (patch) | |
tree | 432d531bd42c741928abf5d6937ced643130d219 /sys/dev/isp/ispmbox.h | |
parent | 27f95e7d69336fa9a8eeae13915fb3329cdd0c6d (diff) | |
download | FreeBSD-src-3f3ff202f445b9cf12972786a14946639f6b144d.zip FreeBSD-src-3f3ff202f445b9cf12972786a14946639f6b144d.tar.gz |
Implement REDUCED INTERRUPT OPERATION usage form FC cards- this allows the
firmware to delay completion of commands so that it can attempt to batch
a bunch of completions at once- either returning 16 bit handles in mailbox
registers, or in a resposne queue entry that has a whole wad of 16 bit handles.
Distinguish between 2300 and 2312 chipsets- if only because the revisions
on the chips have different meanings.
Add more instrumentation plus ISP_GET_STATS and ISP_CLR_STATS ioctls.
Run up the maximum number of response queue entities we'll look at
per interrupt.
If we haven't set HBA role yet, always return success from isp_fc_runstate.
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r-- | sys/dev/isp/ispmbox.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h index ac4613c..6204f46 100644 --- a/sys/dev/isp/ispmbox.h +++ b/sys/dev/isp/ispmbox.h @@ -641,9 +641,11 @@ typedef struct isp_icb { #define ICBXOPT_RIO_OFF 0 #define ICBXOPT_RIO_16BIT 1 #define ICBXOPT_RIO_32BIT 2 -#define ICBXOPT_RIO_16BIT_DELAY 3 -#define ICBXOPT_RIO_32BIT_DELAY 4 +#define ICBXOPT_RIO_16BIT_IOCB 3 +#define ICBXOPT_RIO_32BIT_IOCB 4 +#define ICBZOPT_ENA_RDXFR_RDY 0x01 +#define ICBZOPT_ENA_OOF (1 << 6) /* out of order frame handling */ /* These 3 only apply to the 2300 */ #define ICBZOPT_RATE_ONEGB (MBGSD_ONEGB << 14) #define ICBZOPT_RATE_TWOGB (MBGSD_TWOGB << 14) |