aic79xx.reg (292dd876ee765c478b27c93cc51e93a558ed58bf) aic79xx.reg (53467e636b7beb350c307cc88323aae4676577f2)
1/*
2 * Aic79xx register and scratch ram definitions.
3 *
1/*
2 * Aic79xx register and scratch ram definitions.
3 *
4 * Copyright (c) 1994-2001 Justin T. Gibbs.
4 * Copyright (c) 1994-2001, 2004 Justin T. Gibbs.
5 * Copyright (c) 2000-2002 Adaptec Inc.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions, and the following disclaimer,

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

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$
41 */
5 * Copyright (c) 2000-2002 Adaptec Inc.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions, and the following disclaimer,

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

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$
41 */
42VERSION = "$Id: //depot/aic7xxx/aic7xxx/aic79xx.reg#76 $"
42VERSION = "$Id: //depot/aic7xxx/aic7xxx/aic79xx.reg#77 $"
43
44/*
45 * This file is processed by the aic7xxx_asm utility for use in assembling
46 * firmware for the aic79xx family of SCSI host adapters as well as to generate
47 * a C header file for use in the kernel portion of the Aic79xx driver.
48 */
49
50/* Register window Modes */

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

3710 * The initiator specified tag for this target mode transaction.
3711 */
3712 INITIATOR_TAG {
3713 size 1
3714 }
3715
3716 SEQ_FLAGS2 {
3717 size 1
43
44/*
45 * This file is processed by the aic7xxx_asm utility for use in assembling
46 * firmware for the aic79xx family of SCSI host adapters as well as to generate
47 * a C header file for use in the kernel portion of the Aic79xx driver.
48 */
49
50/* Register window Modes */

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

3710 * The initiator specified tag for this target mode transaction.
3711 */
3712 INITIATOR_TAG {
3713 size 1
3714 }
3715
3716 SEQ_FLAGS2 {
3717 size 1
3718 field TARGET_MSG_PENDING 0x02
3719 field SELECTOUT_QFROZEN 0x04
3718 field PENDING_MK_MESSAGE 0x01
3719 field TARGET_MSG_PENDING 0x02
3720 field SELECTOUT_QFROZEN 0x04
3720 }
3721
3722 ALLOCFIFO_SCBPTR {
3723 size 2
3724 }
3725
3726 /*
3727 * The maximum amount of time to wait, when interrupt coalescing

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

3772 }
3773 /*
3774 * Target-mode CDB type to CDB length table used
3775 * in non-packetized operation.
3776 */
3777 CMDSIZE_TABLE {
3778 size 8
3779 }
3721 }
3722
3723 ALLOCFIFO_SCBPTR {
3724 size 2
3725 }
3726
3727 /*
3728 * The maximum amount of time to wait, when interrupt coalescing

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

3773 }
3774 /*
3775 * Target-mode CDB type to CDB length table used
3776 * in non-packetized operation.
3777 */
3778 CMDSIZE_TABLE {
3779 size 8
3780 }
3781 /*
3782 * When an SCB with the MK_MESSAGE flag is
3783 * queued to the controller, it cannot enter
3784 * the waiting for selection list until the
3785 * selections for any previously queued
3786 * commands to that target complete. During
3787 * the wait, the MK_MESSAGE SCB is queued
3788 * here.
3789 */
3790 MK_MESSAGE_SCB {
3791 size 2
3792 }
3793 /*
3794 * Saved SCSIID of MK_MESSAGE_SCB to avoid
3795 * an extra SCBPTR operation when deciding
3796 * if the MK_MESSAGE_SCB can be run.
3797 */
3798 MK_MESSAGE_SCSIID {
3799 size 1
3800 }
3780}
3781
3782/************************* Hardware SCB Definition ****************************/
3783scb {
3784 address 0x180
3785 size 64
3786 modes 0, 1, 2, 3
3787 SCB_RESIDUAL_DATACNT {

--- 189 unchanged lines hidden ---
3801}
3802
3803/************************* Hardware SCB Definition ****************************/
3804scb {
3805 address 0x180
3806 size 64
3807 modes 0, 1, 2, 3
3808 SCB_RESIDUAL_DATACNT {

--- 189 unchanged lines hidden ---