diff options
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_dev.c')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_dev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_dev.c b/drivers/scsi/aic94xx/aic94xx_dev.c index 3dce618bf414..72042cae7768 100644 --- a/drivers/scsi/aic94xx/aic94xx_dev.c +++ b/drivers/scsi/aic94xx/aic94xx_dev.c | |||
@@ -165,7 +165,7 @@ static int asd_init_target_ddb(struct domain_device *dev) | |||
165 | if (dev->port->oob_mode != SATA_OOB_MODE) { | 165 | if (dev->port->oob_mode != SATA_OOB_MODE) { |
166 | flags |= OPEN_REQUIRED; | 166 | flags |= OPEN_REQUIRED; |
167 | if ((dev->dev_type == SATA_DEV) || | 167 | if ((dev->dev_type == SATA_DEV) || |
168 | (dev->tproto & SAS_PROTO_STP)) { | 168 | (dev->tproto & SAS_PROTOCOL_STP)) { |
169 | struct smp_resp *rps_resp = &dev->sata_dev.rps_resp; | 169 | struct smp_resp *rps_resp = &dev->sata_dev.rps_resp; |
170 | if (rps_resp->frame_type == SMP_RESPONSE && | 170 | if (rps_resp->frame_type == SMP_RESPONSE && |
171 | rps_resp->function == SMP_REPORT_PHY_SATA && | 171 | rps_resp->function == SMP_REPORT_PHY_SATA && |
@@ -193,7 +193,7 @@ static int asd_init_target_ddb(struct domain_device *dev) | |||
193 | asd_ddbsite_write_byte(asd_ha, ddb, DDB_TARG_FLAGS, flags); | 193 | asd_ddbsite_write_byte(asd_ha, ddb, DDB_TARG_FLAGS, flags); |
194 | 194 | ||
195 | flags = 0; | 195 | flags = 0; |
196 | if (dev->tproto & SAS_PROTO_STP) | 196 | if (dev->tproto & SAS_PROTOCOL_STP) |
197 | flags |= STP_CL_POL_NO_TX; | 197 | flags |= STP_CL_POL_NO_TX; |
198 | asd_ddbsite_write_byte(asd_ha, ddb, DDB_TARG_FLAGS2, flags); | 198 | asd_ddbsite_write_byte(asd_ha, ddb, DDB_TARG_FLAGS2, flags); |
199 | 199 | ||
@@ -201,7 +201,7 @@ static int asd_init_target_ddb(struct domain_device *dev) | |||
201 | asd_ddbsite_write_word(asd_ha, ddb, SEND_QUEUE_TAIL, 0xFFFF); | 201 | asd_ddbsite_write_word(asd_ha, ddb, SEND_QUEUE_TAIL, 0xFFFF); |
202 | asd_ddbsite_write_word(asd_ha, ddb, SISTER_DDB, 0xFFFF); | 202 | asd_ddbsite_write_word(asd_ha, ddb, SISTER_DDB, 0xFFFF); |
203 | 203 | ||
204 | if (dev->dev_type == SATA_DEV || (dev->tproto & SAS_PROTO_STP)) { | 204 | if (dev->dev_type == SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP)) { |
205 | i = asd_init_sata(dev); | 205 | i = asd_init_sata(dev); |
206 | if (i < 0) { | 206 | if (i < 0) { |
207 | asd_free_ddb(asd_ha, ddb); | 207 | asd_free_ddb(asd_ha, ddb); |