aic7xxx.reg (68579) | aic7xxx.reg (71390) |
---|---|
1/* 2 * Aic7xxx register and scratch ram definitions. 3 * 4 * Copyright (c) 1994-2000 Justin Gibbs. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * | 1/* 2 * Aic7xxx register and scratch ram definitions. 3 * 4 * Copyright (c) 1994-2000 Justin Gibbs. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * |
31 * $Id: //depot/src/aic7xxx/aic7xxx.reg#9 $ | 31 * $Id: //depot/src/aic7xxx/aic7xxx.reg#10 $ |
32 * | 32 * |
33 * $FreeBSD: head/sys/dev/aic7xxx/aic7xxx.reg 68579 2000-11-10 20:13:41Z gibbs $ | 33 * $FreeBSD: head/sys/dev/aic7xxx/aic7xxx.reg 71390 2001-01-22 21:03:48Z gibbs $ |
34 */ 35 36/* 37 * This file is processed by the aic7xxx_asm utility for use in assembling 38 * firmware for the aic7xxx family of SCSI host adapters as well as to generate 39 * a C header file for use in the kernel portion of the Aic7xxx driver. 40 * 41 * All page numbers refer to the Adaptec AIC-7770 Data Book available from --- 771 unchanged lines hidden (view full) --- 813 * either a command complete 814 * or disconnect message. 815 */ 816 mask SCB_MISMATCH 0xc0|SEQINT /* 817 * Downloaded SCB's tag does 818 * not match the entry we 819 * intended to download. 820 */ | 34 */ 35 36/* 37 * This file is processed by the aic7xxx_asm utility for use in assembling 38 * firmware for the aic7xxx family of SCSI host adapters as well as to generate 39 * a C header file for use in the kernel portion of the Aic7xxx driver. 40 * 41 * All page numbers refer to the Adaptec AIC-7770 Data Book available from --- 771 unchanged lines hidden (view full) --- 813 * either a command complete 814 * or disconnect message. 815 */ 816 mask SCB_MISMATCH 0xc0|SEQINT /* 817 * Downloaded SCB's tag does 818 * not match the entry we 819 * intended to download. 820 */ |
821 mask ABORT_QINSCB 0xd0|SEQINT /* 822 * An SCB was aborted 823 * during download. 824 * Informational. 825 */ 826 mask NO_FREE_SCB 0xe0|SEQINT /* | 821 mask NO_FREE_SCB 0xd0|SEQINT /* |
827 * get_free_or_disc_scb failed. 828 */ | 822 * get_free_or_disc_scb failed. 823 */ |
829 mask OUT_OF_RANGE 0xf0|SEQINT | 824 mask OUT_OF_RANGE 0xe0|SEQINT |
830 831 mask SEQINT_MASK 0xf0|SEQINT /* SEQINT Status Codes */ 832 mask INT_PEND (BRKADRINT|SEQINT|SCSIINT|CMDCMPLT) 833} 834 835/* 836 * Hard Error (p. 3-53) 837 * Reporting of catastrophic errors. You usually cannot recover from --- 391 unchanged lines hidden (view full) --- 1229 */ 1230 1231scratch_ram { 1232 address 0x020 1233 1234 /* 1235 * 1 byte per target starting at this address for configuration values 1236 */ | 825 826 mask SEQINT_MASK 0xf0|SEQINT /* SEQINT Status Codes */ 827 mask INT_PEND (BRKADRINT|SEQINT|SCSIINT|CMDCMPLT) 828} 829 830/* 831 * Hard Error (p. 3-53) 832 * Reporting of catastrophic errors. You usually cannot recover from --- 391 unchanged lines hidden (view full) --- 1224 */ 1225 1226scratch_ram { 1227 address 0x020 1228 1229 /* 1230 * 1 byte per target starting at this address for configuration values 1231 */ |
1237 CMDSIZE_TABLE { | 1232 BUSY_TARGETS { |
1238 alias TARG_SCSIRATE | 1233 alias TARG_SCSIRATE |
1239 size 8 | 1234 size 16 |
1240 } | 1235 } |
1241 BUSY_TARGETS { 1242 size 8 1243 } | |
1244 /* 1245 * Bit vector of targets that have ULTRA enabled as set by 1246 * the BIOS. The Sequencer relies on a per-SCB field to 1247 * control whether to enable Ultra transfers or not. During 1248 * initialization, we read this field and reuse it for 2 1249 * entries in the busy target table. 1250 */ 1251 ULTRA_ENB { | 1236 /* 1237 * Bit vector of targets that have ULTRA enabled as set by 1238 * the BIOS. The Sequencer relies on a per-SCB field to 1239 * control whether to enable Ultra transfers or not. During 1240 * initialization, we read this field and reuse it for 2 1241 * entries in the busy target table. 1242 */ 1243 ULTRA_ENB { |
1244 alias CMDSIZE_TABLE |
|
1252 size 2 1253 } 1254 /* 1255 * Bit vector of targets that have disconnection disabled as set by 1256 * the BIOS. The Sequencer relies in a per-SCB field to control the 1257 * disconnect priveldge. During initialization, we read this field 1258 * and reuse it for 2 entries in the busy target table. 1259 */ 1260 DISC_DSB { 1261 size 2 1262 } | 1245 size 2 1246 } 1247 /* 1248 * Bit vector of targets that have disconnection disabled as set by 1249 * the BIOS. The Sequencer relies in a per-SCB field to control the 1250 * disconnect priveldge. During initialization, we read this field 1251 * and reuse it for 2 entries in the busy target table. 1252 */ 1253 DISC_DSB { 1254 size 2 1255 } |
1263 BUSY_TARGETS_TAIL { | 1256 CMDSIZE_TABLE_TAIL { |
1264 size 4 1265 } 1266 /* 1267 * Partial transfer past cacheline end to be 1268 * transferred using an extra S/G. 1269 */ 1270 MWI_RESIDUAL { 1271 size 1 --- 266 unchanged lines hidden --- | 1257 size 4 1258 } 1259 /* 1260 * Partial transfer past cacheline end to be 1261 * transferred using an extra S/G. 1262 */ 1263 MWI_RESIDUAL { 1264 size 1 --- 266 unchanged lines hidden --- |