diff options
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 */ |