Deleted Added
full compact
aic7xxx.reg (41299) aic7xxx.reg (41646)
1/*
2 * Aic7xxx register and scratch ram definitions.
3 *
4 * Copyright (c) 1994-1998 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

--- 18 unchanged lines hidden (view full) ---

27 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 *
1/*
2 * Aic7xxx register and scratch ram definitions.
3 *
4 * Copyright (c) 1994-1998 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

--- 18 unchanged lines hidden (view full) ---

27 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
34 *
35 * $Id: aic7xxx.reg,v 1.7 1998/09/15 07:24:16 gibbs Exp $
35 * $Id: aic7xxx.reg,v 1.8 1998/11/23 01:33:47 gibbs Exp $
36 */
37
38/*
39 * This file is processed by the aic7xxx_asm utility for use in assembling
40 * firmware for the aic7xxx family of SCSI host adapters as well as to generate
41 * a C header file for use in the kernel portion of the Aic7xxx driver.
42 *
43 * All page numbers refer to the Adaptec AIC-7770 Data Book available from

--- 626 unchanged lines hidden (view full) ---

670 bit BRKADRINT 0x08
671 bit SCSIINT 0x04
672 bit CMDCMPLT 0x02
673 bit SEQINT 0x01
674 mask BAD_PHASE SEQINT /* unknown scsi bus phase */
675 mask SEND_REJECT 0x10|SEQINT /* sending a message reject */
676 mask NO_IDENT 0x20|SEQINT /* no IDENTIFY after reconnect*/
677 mask NO_MATCH 0x30|SEQINT /* no cmd match for reconnect */
36 */
37
38/*
39 * This file is processed by the aic7xxx_asm utility for use in assembling
40 * firmware for the aic7xxx family of SCSI host adapters as well as to generate
41 * a C header file for use in the kernel portion of the Aic7xxx driver.
42 *
43 * All page numbers refer to the Adaptec AIC-7770 Data Book available from

--- 626 unchanged lines hidden (view full) ---

670 bit BRKADRINT 0x08
671 bit SCSIINT 0x04
672 bit CMDCMPLT 0x02
673 bit SEQINT 0x01
674 mask BAD_PHASE SEQINT /* unknown scsi bus phase */
675 mask SEND_REJECT 0x10|SEQINT /* sending a message reject */
676 mask NO_IDENT 0x20|SEQINT /* no IDENTIFY after reconnect*/
677 mask NO_MATCH 0x30|SEQINT /* no cmd match for reconnect */
678 mask EXTENDED_MSG 0x40|SEQINT /* Extended message received */
679 mask ABORT_REQUESTED 0x50|SEQINT /* Reconect of aborted SCB */
680 mask REJECT_MSG 0x60|SEQINT /* Reject message received */
681 mask BAD_STATUS 0x70|SEQINT /* Bad status from target */
682 mask RESIDUAL 0x80|SEQINT /* Residual byte count != 0 */
678 mask ABORT_REQUESTED 0x50|SEQINT /* Reconect of aborted SCB */
679 mask REJECT_MSG 0x60|SEQINT /* Reject message received */
680 mask BAD_STATUS 0x70|SEQINT /* Bad status from target */
681 mask RESIDUAL 0x80|SEQINT /* Residual byte count != 0 */
683 mask AWAITING_MSG 0xa0|SEQINT /*
684 * Kernel requested to specify
685 * a message to this target
686 * (command was null), so tell
687 * it that it can fill the
688 * message buffer.
682 mask HOST_MSG_LOOP 0xa0|SEQINT /*
683 * The bus is ready for the
684 * host to perform another
685 * message transaction. This
686 * mechanism is used for things
687 * like sync/wide negotiation
688 * that require a kernel based
689 * message state engine.
689 */
690 mask TARGET_MSG_HELP 0xb0|SEQINT
690 */
691 mask TARGET_MSG_HELP 0xb0|SEQINT
691 mask TARGET_SYNC_CMD 0xc0|SEQINT
692 mask TRACEPOINT 0xd0|SEQINT
693 mask MSGIN_PHASEMIS 0xe0|SEQINT /*
694 * Target changed phase on us
695 * when we were expecting
696 * another msgin byte.
697 */
698 mask DATA_OVERRUN 0xf0|SEQINT /*
699 * Target attempted to write

--- 572 unchanged lines hidden (view full) ---

1272 KERNEL_TQINPOS {
1273 size 1
1274 }
1275 TQINPOS {
1276 size 1
1277 }
1278 ARG_1 {
1279 size 1
692 mask TRACEPOINT 0xd0|SEQINT
693 mask MSGIN_PHASEMIS 0xe0|SEQINT /*
694 * Target changed phase on us
695 * when we were expecting
696 * another msgin byte.
697 */
698 mask DATA_OVERRUN 0xf0|SEQINT /*
699 * Target attempted to write

--- 572 unchanged lines hidden (view full) ---

1272 KERNEL_TQINPOS {
1273 size 1
1274 }
1275 TQINPOS {
1276 size 1
1277 }
1278 ARG_1 {
1279 size 1
1280 mask SEND_MSG 0x80
1281 mask SEND_SENSE 0x40
1282 mask SEND_REJ 0x20
1283 mask MSGOUT_PHASEMIS 0x10
1280 mask SEND_MSG 0x80
1281 mask SEND_SENSE 0x40
1282 mask SEND_REJ 0x20
1283 mask MSGOUT_PHASEMIS 0x10
1284 mask EXIT_MSG_LOOP 0x08
1285 mask CONT_MSG_LOOP 0x04
1286 mask CONT_TARG_SESSION 0x02
1284 alias RETURN_1
1285 }
1286 ARG_2 {
1287 size 1
1288 alias RETURN_2
1289 }
1290
1291 /*

--- 6 unchanged lines hidden (view full) ---

1298 /*
1299 * Number of times we have filled the CCSGRAM with prefetched
1300 * SG elements.
1301 */
1302 PREFETCH_CNT {
1303 size 1
1304 }
1305
1287 alias RETURN_1
1288 }
1289 ARG_2 {
1290 size 1
1291 alias RETURN_2
1292 }
1293
1294 /*

--- 6 unchanged lines hidden (view full) ---

1301 /*
1302 * Number of times we have filled the CCSGRAM with prefetched
1303 * SG elements.
1304 */
1305 PREFETCH_CNT {
1306 size 1
1307 }
1308
1309 /*
1310 * Interrupt kernel for a message to this target on
1311 * the next transaction. This is usually used for
1312 * negotiation requests.
1313 */
1314 TARGET_MSG_REQUEST {
1315 size 2
1316 }
1306
1307 /*
1308 * These are reserved registers in the card's scratch ram. Some of
1309 * the values are specified in the AHA2742 technical reference manual
1310 * and are initialized by the BIOS at boot time.
1311 */
1312 SCSICONF {
1313 address 0x05a

--- 67 unchanged lines hidden ---
1317
1318 /*
1319 * These are reserved registers in the card's scratch ram. Some of
1320 * the values are specified in the AHA2742 technical reference manual
1321 * and are initialized by the BIOS at boot time.
1322 */
1323 SCSICONF {
1324 address 0x05a

--- 67 unchanged lines hidden ---