diff options
author | HighPoint Linux Team <linux@highpoint-tech.com> | 2012-06-14 03:47:07 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-20 03:58:30 -0400 |
commit | 23f0bb47a4ec4c662b2bbf0221d6289e91b06ece (patch) | |
tree | 60d4181c994194a8393db42d0c6e0ea3a29406a0 /drivers/scsi/hptiop.h | |
parent | f3d8af9e27c8341222b9cce50b870b87239a1629 (diff) |
[SCSI] hptiop: fix RR312x in hosts with >12GB
As the limitation of RR312x's dma engine, the HBA can not access host memory
over 12GB. This fixes
https://bugzilla.kernel.org/show_bug.cgi?id=14311
[alan: resurrected bug from 2009 and pushed upstream]
Reported-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: HighPoint Linux Team <linux@highpoint-tech.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/hptiop.h')
-rw-r--r-- | drivers/scsi/hptiop.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hptiop.h b/drivers/scsi/hptiop.h index 0b871c0ae568..baa648d87fde 100644 --- a/drivers/scsi/hptiop.h +++ b/drivers/scsi/hptiop.h | |||
@@ -297,6 +297,7 @@ struct hptiop_adapter_ops { | |||
297 | int (*iop_intr)(struct hptiop_hba *hba); | 297 | int (*iop_intr)(struct hptiop_hba *hba); |
298 | void (*post_msg)(struct hptiop_hba *hba, u32 msg); | 298 | void (*post_msg)(struct hptiop_hba *hba, u32 msg); |
299 | void (*post_req)(struct hptiop_hba *hba, struct hptiop_request *_req); | 299 | void (*post_req)(struct hptiop_hba *hba, struct hptiop_request *_req); |
300 | int hw_dma_bit_mask; | ||
300 | }; | 301 | }; |
301 | 302 | ||
302 | #define HPT_IOCTL_RESULT_OK 0 | 303 | #define HPT_IOCTL_RESULT_OK 0 |