diff options
-rw-r--r-- | drivers/scsi/aacraid/aachba.c | 10 | ||||
-rw-r--r-- | drivers/scsi/aacraid/aacraid.h | 4 | ||||
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 13 |
3 files changed, 16 insertions, 11 deletions
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c index fb8350e86d98..642a3b4e5937 100644 --- a/drivers/scsi/aacraid/aachba.c +++ b/drivers/scsi/aacraid/aachba.c | |||
@@ -149,20 +149,20 @@ static int dacmode = -1; | |||
149 | 149 | ||
150 | static int commit = -1; | 150 | static int commit = -1; |
151 | 151 | ||
152 | module_param(nondasd, int, 0); | 152 | module_param(nondasd, int, S_IRUGO|S_IWUSR); |
153 | MODULE_PARM_DESC(nondasd, "Control scanning of hba for nondasd devices. 0=off, 1=on"); | 153 | MODULE_PARM_DESC(nondasd, "Control scanning of hba for nondasd devices. 0=off, 1=on"); |
154 | module_param(dacmode, int, 0); | 154 | module_param(dacmode, int, S_IRUGO|S_IWUSR); |
155 | MODULE_PARM_DESC(dacmode, "Control whether dma addressing is using 64 bit DAC. 0=off, 1=on"); | 155 | MODULE_PARM_DESC(dacmode, "Control whether dma addressing is using 64 bit DAC. 0=off, 1=on"); |
156 | module_param(commit, int, 0); | 156 | module_param(commit, int, S_IRUGO|S_IWUSR); |
157 | MODULE_PARM_DESC(commit, "Control whether a COMMIT_CONFIG is issued to the adapter for foreign arrays.\nThis is typically needed in systems that do not have a BIOS. 0=off, 1=on"); | 157 | MODULE_PARM_DESC(commit, "Control whether a COMMIT_CONFIG is issued to the adapter for foreign arrays.\nThis is typically needed in systems that do not have a BIOS. 0=off, 1=on"); |
158 | 158 | ||
159 | int numacb = -1; | 159 | int numacb = -1; |
160 | module_param(numacb, int, S_IRUGO|S_IWUSR); | 160 | module_param(numacb, int, S_IRUGO|S_IWUSR); |
161 | MODULE_PARM_DESC(numacb, "Request a limit to the number of adapter control blocks (FIB) allocated. Valid\nvalues are 512 and down. Default is to use suggestion from Firmware."); | 161 | MODULE_PARM_DESC(numacb, "Request a limit to the number of adapter control blocks (FIB) allocated. Valid values are 512 and down. Default is to use suggestion from Firmware."); |
162 | 162 | ||
163 | int acbsize = -1; | 163 | int acbsize = -1; |
164 | module_param(acbsize, int, S_IRUGO|S_IWUSR); | 164 | module_param(acbsize, int, S_IRUGO|S_IWUSR); |
165 | MODULE_PARM_DESC(acbsize, "Request a specific adapter control block (FIB) size. Valid values are 512,\n2048, 4096 and 8192. Default is to use suggestion from Firmware."); | 165 | MODULE_PARM_DESC(acbsize, "Request a specific adapter control block (FIB) size. Valid values are 512, 2048, 4096 and 8192. Default is to use suggestion from Firmware."); |
166 | /** | 166 | /** |
167 | * aac_get_config_status - check the adapter configuration | 167 | * aac_get_config_status - check the adapter configuration |
168 | * @common: adapter to query | 168 | * @common: adapter to query |
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index c251789babb5..f773b0dcfc95 100644 --- a/drivers/scsi/aacraid/aacraid.h +++ b/drivers/scsi/aacraid/aacraid.h | |||
@@ -10,6 +10,10 @@ | |||
10 | * D E F I N E S | 10 | * D E F I N E S |
11 | *----------------------------------------------------------------------------*/ | 11 | *----------------------------------------------------------------------------*/ |
12 | 12 | ||
13 | #ifndef AAC_DRIVER_BUILD | ||
14 | # define AAC_DRIVER_BUILD 2409 | ||
15 | # define AAC_DRIVER_BRANCH "-mh1" | ||
16 | #endif | ||
13 | #define MAXIMUM_NUM_CONTAINERS 32 | 17 | #define MAXIMUM_NUM_CONTAINERS 32 |
14 | 18 | ||
15 | #define AAC_NUM_MGT_FIB 8 | 19 | #define AAC_NUM_MGT_FIB 8 |
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 8d41064406cc..6ef89c99dd12 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -27,12 +27,6 @@ | |||
27 | * Abstract: Linux Driver entry module for Adaptec RAID Array Controller | 27 | * Abstract: Linux Driver entry module for Adaptec RAID Array Controller |
28 | */ | 28 | */ |
29 | 29 | ||
30 | #define AAC_DRIVER_VERSION "1.1-4" | ||
31 | #ifndef AAC_DRIVER_BRANCH | ||
32 | #define AAC_DRIVER_BRANCH "" | ||
33 | #endif | ||
34 | #define AAC_DRIVER_BUILD_DATE __DATE__ " " __TIME__ | ||
35 | #define AAC_DRIVERNAME "aacraid" | ||
36 | 30 | ||
37 | #include <linux/compat.h> | 31 | #include <linux/compat.h> |
38 | #include <linux/blkdev.h> | 32 | #include <linux/blkdev.h> |
@@ -62,6 +56,13 @@ | |||
62 | 56 | ||
63 | #include "aacraid.h" | 57 | #include "aacraid.h" |
64 | 58 | ||
59 | #define AAC_DRIVER_VERSION "1.1-5" | ||
60 | #ifndef AAC_DRIVER_BRANCH | ||
61 | #define AAC_DRIVER_BRANCH "" | ||
62 | #endif | ||
63 | #define AAC_DRIVER_BUILD_DATE __DATE__ " " __TIME__ | ||
64 | #define AAC_DRIVERNAME "aacraid" | ||
65 | |||
65 | #ifdef AAC_DRIVER_BUILD | 66 | #ifdef AAC_DRIVER_BUILD |
66 | #define _str(x) #x | 67 | #define _str(x) #x |
67 | #define str(x) _str(x) | 68 | #define str(x) _str(x) |