diff options
author | Mark Haverkamp <markh@linux-foundation.org> | 2007-03-15 13:26:22 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-03-20 11:54:25 -0400 |
commit | a8166a52968216ae079a5530ac3269147de2ef31 (patch) | |
tree | dff8f68e062c91cdf0f2003ccf8eb606bdcaa02d /drivers/scsi/aacraid/dpcsup.c | |
parent | 8418852d11f0bbaeebeedd4243560d8fdc85410d (diff) |
[SCSI] aacraid: Fix struct element name issue
Received from Mark Salyzyn,
This patch is to resolve a namespace issue that will result from a patch
expected in the future that adds a new interface; rationalized as
correcting a long term issue where hw_fib, instead of hw_fib_va, refers
to the virtual address space and hw_fib_pa refers to the physical
address space. A small fragment of this patch also cleans up an unused
variable that was close to the patch fragments.
Signed-off-by: Mark Haverkamp <markh@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/dpcsup.c')
-rw-r--r-- | drivers/scsi/aacraid/dpcsup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/aacraid/dpcsup.c b/drivers/scsi/aacraid/dpcsup.c index d38b628be1ad..26f4d563d959 100644 --- a/drivers/scsi/aacraid/dpcsup.c +++ b/drivers/scsi/aacraid/dpcsup.c | |||
@@ -73,7 +73,7 @@ unsigned int aac_response_normal(struct aac_queue * q) | |||
73 | u32 index = le32_to_cpu(entry->addr); | 73 | u32 index = le32_to_cpu(entry->addr); |
74 | fast = index & 0x01; | 74 | fast = index & 0x01; |
75 | fib = &dev->fibs[index >> 2]; | 75 | fib = &dev->fibs[index >> 2]; |
76 | hwfib = fib->hw_fib; | 76 | hwfib = fib->hw_fib_va; |
77 | 77 | ||
78 | aac_consumer_free(dev, q, HostNormRespQueue); | 78 | aac_consumer_free(dev, q, HostNormRespQueue); |
79 | /* | 79 | /* |
@@ -193,7 +193,7 @@ unsigned int aac_command_normal(struct aac_queue *q) | |||
193 | INIT_LIST_HEAD(&fib->fiblink); | 193 | INIT_LIST_HEAD(&fib->fiblink); |
194 | fib->type = FSAFS_NTC_FIB_CONTEXT; | 194 | fib->type = FSAFS_NTC_FIB_CONTEXT; |
195 | fib->size = sizeof(struct fib); | 195 | fib->size = sizeof(struct fib); |
196 | fib->hw_fib = hw_fib; | 196 | fib->hw_fib_va = hw_fib; |
197 | fib->data = hw_fib->data; | 197 | fib->data = hw_fib->data; |
198 | fib->dev = dev; | 198 | fib->dev = dev; |
199 | 199 | ||
@@ -259,7 +259,7 @@ unsigned int aac_intr_normal(struct aac_dev * dev, u32 Index) | |||
259 | INIT_LIST_HEAD(&fib->fiblink); | 259 | INIT_LIST_HEAD(&fib->fiblink); |
260 | fib->type = FSAFS_NTC_FIB_CONTEXT; | 260 | fib->type = FSAFS_NTC_FIB_CONTEXT; |
261 | fib->size = sizeof(struct fib); | 261 | fib->size = sizeof(struct fib); |
262 | fib->hw_fib = hw_fib; | 262 | fib->hw_fib_va = hw_fib; |
263 | fib->data = hw_fib->data; | 263 | fib->data = hw_fib->data; |
264 | fib->dev = dev; | 264 | fib->dev = dev; |
265 | 265 | ||
@@ -271,7 +271,7 @@ unsigned int aac_intr_normal(struct aac_dev * dev, u32 Index) | |||
271 | } else { | 271 | } else { |
272 | int fast = index & 0x01; | 272 | int fast = index & 0x01; |
273 | struct fib * fib = &dev->fibs[index >> 2]; | 273 | struct fib * fib = &dev->fibs[index >> 2]; |
274 | struct hw_fib * hwfib = fib->hw_fib; | 274 | struct hw_fib * hwfib = fib->hw_fib_va; |
275 | 275 | ||
276 | /* | 276 | /* |
277 | * Remove this fib from the Outstanding I/O queue. | 277 | * Remove this fib from the Outstanding I/O queue. |