aic7xxx.reg (41887) | aic7xxx.reg (42652) |
---|---|
1/* 2 * Aic7xxx register and scratch ram definitions. 3 * | 1/* 2 * Aic7xxx register and scratch ram definitions. 3 * |
4 * Copyright (c) 1994-1998 Justin Gibbs. | 4 * Copyright (c) 1994-1999 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 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright 11 * notice, this list of conditions, and the following disclaimer, 12 * without modification, immediately at the beginning of the file. --- 14 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 * | 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 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright 11 * notice, this list of conditions, and the following disclaimer, 12 * without modification, immediately at the beginning of the file. --- 14 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.10 1998/12/15 08:22:42 gibbs Exp $ | 35 * $Id: aic7xxx.reg,v 1.11 1998/12/17 00:06:52 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 --- 422 unchanged lines hidden (view full) --- 466 bit SEQRESET 0x02 467 bit LOADRAM 0x01 468} 469 470/* 471 * Sequencer RAM Data (p. 3-34) 472 * Single byte window into the Scratch Ram area starting at the address 473 * specified by SEQADDR0 and SEQADDR1. To write a full word, simply write | 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 --- 422 unchanged lines hidden (view full) --- 466 bit SEQRESET 0x02 467 bit LOADRAM 0x01 468} 469 470/* 471 * Sequencer RAM Data (p. 3-34) 472 * Single byte window into the Scratch Ram area starting at the address 473 * specified by SEQADDR0 and SEQADDR1. To write a full word, simply write |
474 * four bytes in sucessesion. The SEQADDRs will increment after the most | 474 * four bytes in succession. The SEQADDRs will increment after the most |
475 * significant byte is written 476 */ 477register SEQRAM { 478 address 0x061 479 access_mode RW 480} 481 482/* --- 190 unchanged lines hidden (view full) --- 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 ABORT_REQUESTED 0x50|SEQINT /* Reconect of aborted SCB */ 679 mask BAD_STATUS 0x70|SEQINT /* Bad status from target */ 680 mask RESIDUAL 0x80|SEQINT /* Residual byte count != 0 */ | 475 * significant byte is written 476 */ 477register SEQRAM { 478 address 0x061 479 access_mode RW 480} 481 482/* --- 190 unchanged lines hidden (view full) --- 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 ABORT_REQUESTED 0x50|SEQINT /* Reconect of aborted SCB */ 679 mask BAD_STATUS 0x70|SEQINT /* Bad status from target */ 680 mask RESIDUAL 0x80|SEQINT /* Residual byte count != 0 */ |
681 mask TRACE_POINT 0x90|SEQINT |
|
681 mask HOST_MSG_LOOP 0xa0|SEQINT /* 682 * The bus is ready for the 683 * host to perform another 684 * message transaction. This 685 * mechanism is used for things 686 * like sync/wide negotiation 687 * that require a kernel based 688 * message state engine. --- 636 unchanged lines hidden (view full) --- 1325 bit ENSELI 0x20 1326 bit ENRSELI 0x10 1327 bit ENAUTOATNO 0x08 1328 bit ENAUTOATNI 0x04 1329 bit ENAUTOATNP 0x02 1330 } 1331 1332 /* | 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. --- 636 unchanged lines hidden (view full) --- 1326 bit ENSELI 0x20 1327 bit ENRSELI 0x10 1328 bit ENAUTOATNO 0x08 1329 bit ENAUTOATNI 0x04 1330 bit ENAUTOATNP 0x02 1331 } 1332 1333 /* |
1334 * Track whether the transfer byte count for 1335 * the current data phase is odd. 1336 */ 1337 DATA_COUNT_ODD { 1338 size 1 1339 } 1340 1341 /* 1342 * The initiator specified tag for this target mode transaction. 1343 */ 1344 INITIATOR_TAG { 1345 size 1 1346 } 1347 1348 /* |
|
1333 * These are reserved registers in the card's scratch ram. Some of 1334 * the values are specified in the AHA2742 technical reference manual 1335 * and are initialized by the BIOS at boot time. 1336 */ 1337 SCSICONF { 1338 address 0x05a 1339 size 1 1340 bit TERM_ENB 0x80 --- 65 unchanged lines hidden --- | 1349 * These are reserved registers in the card's scratch ram. Some of 1350 * the values are specified in the AHA2742 technical reference manual 1351 * and are initialized by the BIOS at boot time. 1352 */ 1353 SCSICONF { 1354 address 0x05a 1355 size 1 1356 bit TERM_ENB 0x80 --- 65 unchanged lines hidden --- |