diff options
author | Ching Huang <ching2048@areca.com.tw> | 2017-12-05 09:44:23 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-12-06 19:32:40 -0500 |
commit | d076e4aaf67d10a53597290ce4b8455e06d8074f (patch) | |
tree | a5b4814d2393909fe74f2edfd9eaedb205cf863d /drivers/scsi/arcmsr/arcmsr.h | |
parent | aa4d1d56764aee510614c066324311c6c62c19b8 (diff) | |
download | lwn-d076e4aaf67d10a53597290ce4b8455e06d8074f.tar.gz lwn-d076e4aaf67d10a53597290ce4b8455e06d8074f.zip |
scsi: arcmsr: replace constant ARCMSR_MAX_FREECCB_NUM
Replace constant ARCMSR_MAX_FREECCB_NUM by variable acb->maxFreeCCB that
was received from firmware.
Signed-off-by: Ching Huang <ching2048@areca.com.tw>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/arcmsr/arcmsr.h')
-rw-r--r-- | drivers/scsi/arcmsr/arcmsr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h index 6ec60ff8781e..1951f2db80dc 100644 --- a/drivers/scsi/arcmsr/arcmsr.h +++ b/drivers/scsi/arcmsr/arcmsr.h @@ -831,6 +831,7 @@ struct AdapterControlBlock atomic_t ante_token_value; uint32_t maxOutstanding; int vector_count; + uint32_t maxFreeCCB; uint32_t doneq_index; uint32_t ccbsize; uint32_t in_doorbell; |