diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-06-27 19:17:39 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-06-27 19:17:39 +0000 |
commit | 51596cce555d8b265d5e459b11b255ec0d0dc723 (patch) | |
tree | 29c945bdfb3c262a4e2651c17d66a02c0f225709 /sys | |
parent | c3ccd76815d15f23adf34b6d690791f756d1bd09 (diff) | |
download | FreeBSD-src-51596cce555d8b265d5e459b11b255ec0d0dc723.zip FreeBSD-src-51596cce555d8b265d5e459b11b255ec0d0dc723.tar.gz |
Add 8 bits of volatile mailbox busy mask- this will be the bitmask of
output mailbox values we want to get back out of the chip once a mailbox
command is done. Add storage for the maximum number of output mailbox
registers to the softc.
Roll minor version number.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/isp/ispvar.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h index c20bf11..348fd36 100644 --- a/sys/dev/isp/ispvar.h +++ b/sys/dev/isp/ispvar.h @@ -58,7 +58,7 @@ #endif #define ISP_CORE_VERSION_MAJOR 1 -#define ISP_CORE_VERSION_MINOR 15 +#define ISP_CORE_VERSION_MINOR 16 /* * Vector for bus specific code to provide specific services. @@ -329,16 +329,18 @@ struct ispsoftc { * Volatile state */ - volatile u_int32_t : 9, + volatile u_int32_t + isp_mboxbsy : 8, /* mailbox command active */ + : 1, isp_state : 3, isp_sendmarker : 2, /* send a marker entry */ isp_update : 2, /* update parameters */ isp_nactive : 16; /* how many commands active */ - volatile u_int16_t isp_reqodx; /* index of last ISP pickup */ volatile u_int16_t isp_reqidx; /* index of next request */ volatile u_int16_t isp_residx; /* index of next result */ volatile u_int16_t isp_lasthdls; /* last handle seed */ + volatile u_int16_t isp_mboxtmp[MAX_MAILBOX]; /* * Active commands are stored here, indexed by handle functions. |