From 23f0bb47a4ec4c662b2bbf0221d6289e91b06ece Mon Sep 17 00:00:00 2001 From: HighPoint Linux Team Date: Thu, 14 Jun 2012 08:47:07 +0100 Subject: [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 Signed-off-by: HighPoint Linux Team Signed-off-by: James Bottomley --- drivers/scsi/hptiop.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/scsi/hptiop.h') 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 -- cgit v1.2.2