diff options
author | Hannes Reinecke <hare@suse.de> | 2006-01-12 06:08:06 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2006-01-12 13:03:50 -0500 |
commit | 11668bb673c41ec169a85d0b52c538a1c11d29e1 (patch) | |
tree | 423c30e22eea305d5c059c6463bdd226c1734bf4 /drivers/scsi/aic7xxx/aic79xx.h | |
parent | ba62cd2d01e401faa5d5a25fa8e990d0b1a1996a (diff) |
[SCSI] aic79xx: Sequencer update
Update sequencer code to Adaptec version 2.0.12-6.3.9.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx.h')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx.h b/drivers/scsi/aic7xxx/aic79xx.h index ac3d07a2a286..2cfdbef447db 100644 --- a/drivers/scsi/aic7xxx/aic79xx.h +++ b/drivers/scsi/aic7xxx/aic79xx.h | |||
@@ -75,8 +75,7 @@ struct scb_platform_data; | |||
75 | #define INITIATOR_WILDCARD (~0) | 75 | #define INITIATOR_WILDCARD (~0) |
76 | #define SCB_LIST_NULL 0xFF00 | 76 | #define SCB_LIST_NULL 0xFF00 |
77 | #define SCB_LIST_NULL_LE (ahd_htole16(SCB_LIST_NULL)) | 77 | #define SCB_LIST_NULL_LE (ahd_htole16(SCB_LIST_NULL)) |
78 | #define QOUTFIFO_ENTRY_VALID 0x8000 | 78 | #define QOUTFIFO_ENTRY_VALID 0x80 |
79 | #define QOUTFIFO_ENTRY_VALID_LE (ahd_htole16(0x8000)) | ||
80 | #define SCBID_IS_NULL(scbid) (((scbid) & 0xFF00 ) == SCB_LIST_NULL) | 79 | #define SCBID_IS_NULL(scbid) (((scbid) & 0xFF00 ) == SCB_LIST_NULL) |
81 | 80 | ||
82 | #define SCSIID_TARGET(ahd, scsiid) \ | 81 | #define SCSIID_TARGET(ahd, scsiid) \ |
@@ -1053,6 +1052,13 @@ typedef uint8_t ahd_mode_state; | |||
1053 | 1052 | ||
1054 | typedef void ahd_callback_t (void *); | 1053 | typedef void ahd_callback_t (void *); |
1055 | 1054 | ||
1055 | struct ahd_completion | ||
1056 | { | ||
1057 | uint16_t tag; | ||
1058 | uint8_t sg_status; | ||
1059 | uint8_t valid_tag; | ||
1060 | }; | ||
1061 | |||
1056 | struct ahd_softc { | 1062 | struct ahd_softc { |
1057 | bus_space_tag_t tags[2]; | 1063 | bus_space_tag_t tags[2]; |
1058 | bus_space_handle_t bshs[2]; | 1064 | bus_space_handle_t bshs[2]; |
@@ -1142,11 +1148,11 @@ struct ahd_softc { | |||
1142 | struct seeprom_config *seep_config; | 1148 | struct seeprom_config *seep_config; |
1143 | 1149 | ||
1144 | /* Command Queues */ | 1150 | /* Command Queues */ |
1151 | struct ahd_completion *qoutfifo; | ||
1145 | uint16_t qoutfifonext; | 1152 | uint16_t qoutfifonext; |
1146 | uint16_t qoutfifonext_valid_tag; | 1153 | uint16_t qoutfifonext_valid_tag; |
1147 | uint16_t qinfifonext; | 1154 | uint16_t qinfifonext; |
1148 | uint16_t qinfifo[AHD_SCB_MAX]; | 1155 | uint16_t qinfifo[AHD_SCB_MAX]; |
1149 | uint16_t *qoutfifo; | ||
1150 | 1156 | ||
1151 | /* | 1157 | /* |
1152 | * Our qfreeze count. The sequencer compares | 1158 | * Our qfreeze count. The sequencer compares |