aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dpti.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-06-25 09:27:36 -0400
committerChristoph Hellwig <hch@lst.de>2014-07-17 16:07:37 -0400
commit9cb78c16f5dadefd8dc5ba0ae5a2f26cd59419b3 (patch)
tree576b86c3ec56dd7176285ec2d27f27ca55f77bc3 /drivers/scsi/dpti.h
parent755f516bbb983915d6cbfb5aa592cc0a5a99fd00 (diff)
scsi: use 64-bit LUNs
The SCSI standard defines 64-bit values for LUNs, and large arrays employing large or hierarchical LUN numbers become more and more common. So update the linux SCSI stack to use 64-bit LUN numbers. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Christoph Hellwig <hch@infradead.org> Reviewed-by: Ewan Milne <emilne@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/dpti.h')
-rw-r--r--drivers/scsi/dpti.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/dpti.h b/drivers/scsi/dpti.h
index aeb046186c84..1fa345ab8ecb 100644
--- a/drivers/scsi/dpti.h
+++ b/drivers/scsi/dpti.h
@@ -184,7 +184,7 @@ struct adpt_device {
184 u32 block_size; 184 u32 block_size;
185 u8 scsi_channel; 185 u8 scsi_channel;
186 u8 scsi_id; 186 u8 scsi_id;
187 u8 scsi_lun; 187 u64 scsi_lun;
188 u8 state; 188 u8 state;
189 u16 tid; 189 u16 tid;
190 struct i2o_device* pI2o_dev; 190 struct i2o_device* pI2o_dev;
@@ -231,7 +231,7 @@ typedef struct _adpt_hba {
231 u32 sg_tablesize; // Scatter/Gather List Size. 231 u32 sg_tablesize; // Scatter/Gather List Size.
232 u8 top_scsi_channel; 232 u8 top_scsi_channel;
233 u8 top_scsi_id; 233 u8 top_scsi_id;
234 u8 top_scsi_lun; 234 u64 top_scsi_lun;
235 u8 dma64; 235 u8 dma64;
236 236
237 i2o_status_block* status_block; 237 i2o_status_block* status_block;
@@ -300,7 +300,7 @@ static s32 adpt_send_nop(adpt_hba*pHba,u32 m);
300static void adpt_i2o_delete_hba(adpt_hba* pHba); 300static void adpt_i2o_delete_hba(adpt_hba* pHba);
301static void adpt_inquiry(adpt_hba* pHba); 301static void adpt_inquiry(adpt_hba* pHba);
302static void adpt_fail_posted_scbs(adpt_hba* pHba); 302static void adpt_fail_posted_scbs(adpt_hba* pHba);
303static struct adpt_device* adpt_find_device(adpt_hba* pHba, u32 chan, u32 id, u32 lun); 303static struct adpt_device* adpt_find_device(adpt_hba* pHba, u32 chan, u32 id, u64 lun);
304static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev) ; 304static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev) ;
305static int adpt_i2o_online_hba(adpt_hba* pHba); 305static int adpt_i2o_online_hba(adpt_hba* pHba);
306static void adpt_i2o_post_wait_complete(u32, int); 306static void adpt_i2o_post_wait_complete(u32, int);