diff options
| author | Hannes Reinecke <hare@suse.de> | 2014-06-25 09:27:38 -0400 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2014-07-17 16:07:38 -0400 |
| commit | 1abf635d2f3332641570e1913e317073834a055f (patch) | |
| tree | a895c63f34c4465c95ea82c3d561115f1ff21626 /include/scsi | |
| parent | b4210b810e5040f10a30ba56de6c3faab5c49345 (diff) | |
scsi: use 64-bit value for 'max_luns'
Now that we're using 64-bit LUNs internally we need to increase
the size of max_luns to 64 bits, too.
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 'include/scsi')
| -rw-r--r-- | include/scsi/scsi_host.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index db7d8bd2f86f..abb695882fed 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
| @@ -623,11 +623,11 @@ struct Scsi_Host { | |||
| 623 | * These three parameters can be used to allow for wide scsi, | 623 | * These three parameters can be used to allow for wide scsi, |
| 624 | * and for host adapters that support multiple busses | 624 | * and for host adapters that support multiple busses |
| 625 | * The first two should be set to 1 more than the actual max id | 625 | * The first two should be set to 1 more than the actual max id |
| 626 | * or lun (i.e. 8 for normal systems). | 626 | * or lun (e.g. 8 for SCSI parallel systems). |
| 627 | */ | 627 | */ |
| 628 | unsigned int max_id; | ||
| 629 | unsigned int max_lun; | ||
| 630 | unsigned int max_channel; | 628 | unsigned int max_channel; |
| 629 | unsigned int max_id; | ||
| 630 | u64 max_lun; | ||
| 631 | 631 | ||
| 632 | /* | 632 | /* |
| 633 | * This is a unique identifier that must be assigned so that we | 633 | * This is a unique identifier that must be assigned so that we |
