summaryrefslogtreecommitdiff
path: root/drivers/scsi/hptiop.h
diff options
context:
space:
mode:
authorHighPoint Linux Team <linux@highpoint-tech.com>2012-06-14 08:47:07 +0100
committerJames Bottomley <JBottomley@Parallels.com>2012-07-20 08:58:30 +0100
commit23f0bb47a4ec4c662b2bbf0221d6289e91b06ece (patch)
tree60d4181c994194a8393db42d0c6e0ea3a29406a0 /drivers/scsi/hptiop.h
parentf3d8af9e27c8341222b9cce50b870b87239a1629 (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.h1
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 {
int (*iop_intr)(struct hptiop_hba *hba);
void (*post_msg)(struct hptiop_hba *hba, u32 msg);
void (*post_req)(struct hptiop_hba *hba, struct hptiop_request *_req);
+ int hw_dma_bit_mask;
};
#define HPT_IOCTL_RESULT_OK 0