Deleted Added
full compact
aic7xxx.reg (102672) aic7xxx.reg (107420)
1/*
2 * Aic7xxx register and scratch ram definitions.
3 *
4 * Copyright (c) 1994-2001 Justin T. Gibbs.
5 * Copyright (c) 2000-2001 Adaptec Inc.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

32 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
36 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
37 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38 * POSSIBILITY OF SUCH DAMAGES.
39 *
1/*
2 * Aic7xxx register and scratch ram definitions.
3 *
4 * Copyright (c) 1994-2001 Justin T. Gibbs.
5 * Copyright (c) 2000-2001 Adaptec Inc.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

32 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
36 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
37 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38 * POSSIBILITY OF SUCH DAMAGES.
39 *
40 * $FreeBSD: head/sys/dev/aic7xxx/aic7xxx.reg 102672 2002-08-31 06:42:38Z gibbs $
40 * $FreeBSD: head/sys/dev/aic7xxx/aic7xxx.reg 107420 2002-11-30 19:30:09Z scottl $
41 */
41 */
42VERSION = "$Id: //depot/aic7xxx/aic7xxx/aic7xxx.reg#34 $"
42VERSION = "$Id: //depot/aic7xxx/aic7xxx/aic7xxx.reg#35 $"
43
44/*
45 * This file is processed by the aic7xxx_asm utility for use in assembling
46 * firmware for the aic7xxx family of SCSI host adapters as well as to generate
47 * a C header file for use in the kernel portion of the Aic7xxx driver.
48 *
49 * All page numbers refer to the Adaptec AIC-7770 Data Book available from
50 * Adaptec's Technical Documents Department 1-800-934-2766

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

799 address 0x091
800 access_mode RW
801 field BRKADRINT 0x08
802 field SCSIINT 0x04
803 field CMDCMPLT 0x02
804 field SEQINT 0x01
805 mask BAD_PHASE SEQINT /* unknown scsi bus phase */
806 mask SEND_REJECT 0x10|SEQINT /* sending a message reject */
43
44/*
45 * This file is processed by the aic7xxx_asm utility for use in assembling
46 * firmware for the aic7xxx family of SCSI host adapters as well as to generate
47 * a C header file for use in the kernel portion of the Aic7xxx driver.
48 *
49 * All page numbers refer to the Adaptec AIC-7770 Data Book available from
50 * Adaptec's Technical Documents Department 1-800-934-2766

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

799 address 0x091
800 access_mode RW
801 field BRKADRINT 0x08
802 field SCSIINT 0x04
803 field CMDCMPLT 0x02
804 field SEQINT 0x01
805 mask BAD_PHASE SEQINT /* unknown scsi bus phase */
806 mask SEND_REJECT 0x10|SEQINT /* sending a message reject */
807 mask NO_IDENT 0x20|SEQINT /* no IDENTIFY after reconnect*/
807 mask PROTO_VIOLATION 0x20|SEQINT /* SCSI protocol violation */
808 mask NO_MATCH 0x30|SEQINT /* no cmd match for reconnect */
809 mask IGN_WIDE_RES 0x40|SEQINT /* Complex IGN Wide Res Msg */
810 mask PDATA_REINIT 0x50|SEQINT /*
811 * Returned to data phase
812 * that requires data
813 * transfer pointers to be
814 * recalculated from the
815 * transfer residual.

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

1057 size 4
1058 field SG_RESID_VALID 0x04 /* In the first byte */
1059 field SG_FULL_RESID 0x02 /* In the first byte */
1060 field SG_LIST_NULL 0x01 /* In the first byte */
1061 }
1062 SCB_CONTROL {
1063 size 1
1064 field TARGET_SCB 0x80
808 mask NO_MATCH 0x30|SEQINT /* no cmd match for reconnect */
809 mask IGN_WIDE_RES 0x40|SEQINT /* Complex IGN Wide Res Msg */
810 mask PDATA_REINIT 0x50|SEQINT /*
811 * Returned to data phase
812 * that requires data
813 * transfer pointers to be
814 * recalculated from the
815 * transfer residual.

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

1057 size 4
1058 field SG_RESID_VALID 0x04 /* In the first byte */
1059 field SG_FULL_RESID 0x02 /* In the first byte */
1060 field SG_LIST_NULL 0x01 /* In the first byte */
1061 }
1062 SCB_CONTROL {
1063 size 1
1064 field TARGET_SCB 0x80
1065 field STATUS_RCVD 0x80
1065 field DISCENB 0x40
1066 field TAG_ENB 0x20
1067 field MK_MESSAGE 0x10
1068 field ULTRAENB 0x08
1069 field DISCONNECTED 0x04
1070 mask SCB_TAG_TYPE 0x03
1071 }
1072 SCB_SCSIID {

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

1330 field HDMAEN 0x08
1331 field HDMAENACK 0x08
1332 field DIRECTION 0x04 /* Set indicates PCI->SCSI */
1333 field FIFOFLUSH 0x02
1334 field FIFORESET 0x01
1335 }
1336 SEQ_FLAGS {
1337 size 1
1066 field DISCENB 0x40
1067 field TAG_ENB 0x20
1068 field MK_MESSAGE 0x10
1069 field ULTRAENB 0x08
1070 field DISCONNECTED 0x04
1071 mask SCB_TAG_TYPE 0x03
1072 }
1073 SCB_SCSIID {

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

1331 field HDMAEN 0x08
1332 field HDMAENACK 0x08
1333 field DIRECTION 0x04 /* Set indicates PCI->SCSI */
1334 field FIFOFLUSH 0x02
1335 field FIFORESET 0x01
1336 }
1337 SEQ_FLAGS {
1338 size 1
1338 field IDENTIFY_SEEN 0x80
1339 field NOT_IDENTIFIED 0x80
1340 field NO_CDB_SENT 0x40
1339 field TARGET_CMD_IS_TAGGED 0x40
1340 field DPHASE 0x20
1341 /* Target flags */
1342 field TARG_CMD_PENDING 0x10
1343 field CMDPHASE_PENDING 0x08
1344 field DPHASE_PENDING 0x04
1345 field SPHASE_PENDING 0x02
1346 field NO_DISCONNECT 0x01

--- 252 unchanged lines hidden ---
1341 field TARGET_CMD_IS_TAGGED 0x40
1342 field DPHASE 0x20
1343 /* Target flags */
1344 field TARG_CMD_PENDING 0x10
1345 field CMDPHASE_PENDING 0x08
1346 field DPHASE_PENDING 0x04
1347 field SPHASE_PENDING 0x02
1348 field NO_DISCONNECT 0x01

--- 252 unchanged lines hidden ---