diff options
author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1999-05-14 05:07:25 +0000 |
---|---|---|
committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1999-05-14 05:07:25 +0000 |
commit | 06d2b844cc243f9f0689aeb101770ea8471335d3 (patch) | |
tree | 594db7fd92629e46db8b25cb30921b693b1bacd1 /sys/dev/aic7xxx/aic7xxx.h | |
parent | a173bb9fc528db9fb000bec2842a65da2f8e1e73 (diff) | |
download | src-06d2b844cc243f9f0689aeb101770ea8471335d3.tar.gz src-06d2b844cc243f9f0689aeb101770ea8471335d3.zip |
Better workaround for aic7890 chip bug. Use the HS_MAILBOX register to
tell the sequencer to pause itself for a target msg variable update. This
avoids the pause race entirely as HS_MAILBOX can be accessed without
pausing the chip.
3.2 Merge candidate.
Notes
Notes:
svn path=/head/; revision=47158
Diffstat (limited to 'sys/dev/aic7xxx/aic7xxx.h')
-rw-r--r-- | sys/dev/aic7xxx/aic7xxx.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx.h b/sys/dev/aic7xxx/aic7xxx.h index 5f1bb86de2b4..f4776d0b6e7f 100644 --- a/sys/dev/aic7xxx/aic7xxx.h +++ b/sys/dev/aic7xxx/aic7xxx.h @@ -34,7 +34,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: aic7xxx.h,v 1.6 1999/03/05 23:35:47 gibbs Exp $ + * $Id: aic7xxx.h,v 1.7 1999/04/23 23:27:30 gibbs Exp $ */ #ifndef _AIC7XXX_H_ @@ -117,16 +117,17 @@ typedef enum { AHC_SG_PRELOAD = 0x0080, /* Can perform auto-SG preload */ AHC_SPIOCAP = 0x0100, /* Has a Serial Port I/O Cap Register */ AHC_MULTI_TID = 0x0200, /* Has bitmask of TIDs for select-in */ + AHC_HS_MAILBOX = 0x0400, /* Has HS_MAILBOX register */ AHC_AIC7770_FE = AHC_FENONE, AHC_AIC7850_FE = AHC_FENONE|AHC_SPIOCAP, AHC_AIC7860_FE = AHC_ULTRA|AHC_SPIOCAP, AHC_AIC7870_FE = AHC_FENONE, AHC_AIC7880_FE = AHC_ULTRA, AHC_AIC7890_FE = AHC_MORE_SRAM|AHC_CMD_CHAN|AHC_ULTRA2|AHC_QUEUE_REGS - |AHC_SG_PRELOAD|AHC_MULTI_TID, + |AHC_SG_PRELOAD|AHC_MULTI_TID|AHC_HS_MAILBOX, AHC_AIC7895_FE = AHC_MORE_SRAM|AHC_CMD_CHAN|AHC_ULTRA, AHC_AIC7896_FE = AHC_MORE_SRAM|AHC_CMD_CHAN|AHC_ULTRA2|AHC_QUEUE_REGS - |AHC_SG_PRELOAD|AHC_MULTI_TID, + |AHC_SG_PRELOAD|AHC_MULTI_TID|AHC_HS_MAILBOX, } ahc_feature; typedef enum { |