diff options
author | Mike Miller <mike.miller@hp.com> | 2006-12-06 23:35:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:30 -0500 |
commit | 799202cbd0ef6a201446d99fcbd78b9f0bda6ae5 (patch) | |
tree | cfc6a988170f4e65b810ee6a523e6d858ee01ce2 /drivers/block/cciss.h | |
parent | 3833a748aa75dd39494bb861ab018216b0a2c14e (diff) |
[PATCH] cciss: add support for 1024 logical volumes
Add the support for a large number of logical volumes. We will soon have
hardware that support up to 1024 logical volumes.
Signed-off-by: Mike Miller <mike.miller@hp.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/cciss.h')
-rw-r--r-- | drivers/block/cciss.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/cciss.h b/drivers/block/cciss.h index c3df673f860b..b70988dd33ec 100644 --- a/drivers/block/cciss.h +++ b/drivers/block/cciss.h | |||
@@ -6,7 +6,6 @@ | |||
6 | #include "cciss_cmd.h" | 6 | #include "cciss_cmd.h" |
7 | 7 | ||
8 | 8 | ||
9 | #define NWD 16 | ||
10 | #define NWD_SHIFT 4 | 9 | #define NWD_SHIFT 4 |
11 | #define MAX_PART (1 << NWD_SHIFT) | 10 | #define MAX_PART (1 << NWD_SHIFT) |
12 | 11 | ||
@@ -112,7 +111,7 @@ struct ctlr_info | |||
112 | int next_to_run; | 111 | int next_to_run; |
113 | 112 | ||
114 | // Disk structures we need to pass back | 113 | // Disk structures we need to pass back |
115 | struct gendisk *gendisk[NWD]; | 114 | struct gendisk *gendisk[CISS_MAX_LUN]; |
116 | #ifdef CONFIG_CISS_SCSI_TAPE | 115 | #ifdef CONFIG_CISS_SCSI_TAPE |
117 | void *scsi_ctlr; /* ptr to structure containing scsi related stuff */ | 116 | void *scsi_ctlr; /* ptr to structure containing scsi related stuff */ |
118 | /* list of block side commands the scsi error handling sucked up */ | 117 | /* list of block side commands the scsi error handling sucked up */ |