diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 3 | ||||
-rw-r--r-- | drivers/scsi/in2000.c | 2 | ||||
-rw-r--r-- | drivers/scsi/pmcraid.c | 9 | ||||
-rw-r--r-- | drivers/scsi/pmcraid.h | 1 | ||||
-rw-r--r-- | drivers/scsi/wd33c93.c | 7 |
5 files changed, 9 insertions, 13 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 4ff26521d75f..3382475dc22d 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -59,7 +59,6 @@ | |||
59 | #ifndef AAC_DRIVER_BRANCH | 59 | #ifndef AAC_DRIVER_BRANCH |
60 | #define AAC_DRIVER_BRANCH "" | 60 | #define AAC_DRIVER_BRANCH "" |
61 | #endif | 61 | #endif |
62 | #define AAC_DRIVER_BUILD_DATE __DATE__ " " __TIME__ | ||
63 | #define AAC_DRIVERNAME "aacraid" | 62 | #define AAC_DRIVERNAME "aacraid" |
64 | 63 | ||
65 | #ifdef AAC_DRIVER_BUILD | 64 | #ifdef AAC_DRIVER_BUILD |
@@ -67,7 +66,7 @@ | |||
67 | #define str(x) _str(x) | 66 | #define str(x) _str(x) |
68 | #define AAC_DRIVER_FULL_VERSION AAC_DRIVER_VERSION "[" str(AAC_DRIVER_BUILD) "]" AAC_DRIVER_BRANCH | 67 | #define AAC_DRIVER_FULL_VERSION AAC_DRIVER_VERSION "[" str(AAC_DRIVER_BUILD) "]" AAC_DRIVER_BRANCH |
69 | #else | 68 | #else |
70 | #define AAC_DRIVER_FULL_VERSION AAC_DRIVER_VERSION AAC_DRIVER_BRANCH " " AAC_DRIVER_BUILD_DATE | 69 | #define AAC_DRIVER_FULL_VERSION AAC_DRIVER_VERSION AAC_DRIVER_BRANCH |
71 | #endif | 70 | #endif |
72 | 71 | ||
73 | MODULE_AUTHOR("Red Hat Inc and Adaptec"); | 72 | MODULE_AUTHOR("Red Hat Inc and Adaptec"); |
diff --git a/drivers/scsi/in2000.c b/drivers/scsi/in2000.c index 92109b126391..112f1bec7756 100644 --- a/drivers/scsi/in2000.c +++ b/drivers/scsi/in2000.c | |||
@@ -2227,7 +2227,7 @@ static int in2000_proc_info(struct Scsi_Host *instance, char *buf, char **start, | |||
2227 | bp = buf; | 2227 | bp = buf; |
2228 | *bp = '\0'; | 2228 | *bp = '\0'; |
2229 | if (hd->proc & PR_VERSION) { | 2229 | if (hd->proc & PR_VERSION) { |
2230 | sprintf(tbuf, "\nVersion %s - %s. Compiled %s %s", IN2000_VERSION, IN2000_DATE, __DATE__, __TIME__); | 2230 | sprintf(tbuf, "\nVersion %s - %s.", IN2000_VERSION, IN2000_DATE); |
2231 | strcat(bp, tbuf); | 2231 | strcat(bp, tbuf); |
2232 | } | 2232 | } |
2233 | if (hd->proc & PR_INFO) { | 2233 | if (hd->proc & PR_INFO) { |
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index 7f636b118287..fca6a8953070 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
@@ -4252,8 +4252,8 @@ static ssize_t pmcraid_show_drv_version( | |||
4252 | char *buf | 4252 | char *buf |
4253 | ) | 4253 | ) |
4254 | { | 4254 | { |
4255 | return snprintf(buf, PAGE_SIZE, "version: %s, build date: %s\n", | 4255 | return snprintf(buf, PAGE_SIZE, "version: %s\n", |
4256 | PMCRAID_DRIVER_VERSION, PMCRAID_DRIVER_DATE); | 4256 | PMCRAID_DRIVER_VERSION); |
4257 | } | 4257 | } |
4258 | 4258 | ||
4259 | static struct device_attribute pmcraid_driver_version_attr = { | 4259 | static struct device_attribute pmcraid_driver_version_attr = { |
@@ -6096,9 +6096,8 @@ static int __init pmcraid_init(void) | |||
6096 | dev_t dev; | 6096 | dev_t dev; |
6097 | int error; | 6097 | int error; |
6098 | 6098 | ||
6099 | pmcraid_info("%s Device Driver version: %s %s\n", | 6099 | pmcraid_info("%s Device Driver version: %s\n", |
6100 | PMCRAID_DRIVER_NAME, | 6100 | PMCRAID_DRIVER_NAME, PMCRAID_DRIVER_VERSION); |
6101 | PMCRAID_DRIVER_VERSION, PMCRAID_DRIVER_DATE); | ||
6102 | 6101 | ||
6103 | error = alloc_chrdev_region(&dev, 0, | 6102 | error = alloc_chrdev_region(&dev, 0, |
6104 | PMCRAID_MAX_ADAPTERS, | 6103 | PMCRAID_MAX_ADAPTERS, |
diff --git a/drivers/scsi/pmcraid.h b/drivers/scsi/pmcraid.h index 34e4c915002e..f920baf3ff24 100644 --- a/drivers/scsi/pmcraid.h +++ b/drivers/scsi/pmcraid.h | |||
@@ -43,7 +43,6 @@ | |||
43 | #define PMCRAID_DRIVER_NAME "PMC MaxRAID" | 43 | #define PMCRAID_DRIVER_NAME "PMC MaxRAID" |
44 | #define PMCRAID_DEVFILE "pmcsas" | 44 | #define PMCRAID_DEVFILE "pmcsas" |
45 | #define PMCRAID_DRIVER_VERSION "1.0.3" | 45 | #define PMCRAID_DRIVER_VERSION "1.0.3" |
46 | #define PMCRAID_DRIVER_DATE __DATE__ | ||
47 | 46 | ||
48 | #define PMCRAID_FW_VERSION_1 0x002 | 47 | #define PMCRAID_FW_VERSION_1 0x002 |
49 | 48 | ||
diff --git a/drivers/scsi/wd33c93.c b/drivers/scsi/wd33c93.c index 97ae716134d0..c0ee4ea28a19 100644 --- a/drivers/scsi/wd33c93.c +++ b/drivers/scsi/wd33c93.c | |||
@@ -2051,8 +2051,7 @@ wd33c93_init(struct Scsi_Host *instance, const wd33c93_regs regs, | |||
2051 | for (i = 0; i < MAX_SETUP_ARGS; i++) | 2051 | for (i = 0; i < MAX_SETUP_ARGS; i++) |
2052 | printk("%s,", setup_args[i]); | 2052 | printk("%s,", setup_args[i]); |
2053 | printk("\n"); | 2053 | printk("\n"); |
2054 | printk(" Version %s - %s, Compiled %s at %s\n", | 2054 | printk(" Version %s - %s\n", WD33C93_VERSION, WD33C93_DATE); |
2055 | WD33C93_VERSION, WD33C93_DATE, __DATE__, __TIME__); | ||
2056 | } | 2055 | } |
2057 | 2056 | ||
2058 | int | 2057 | int |
@@ -2132,8 +2131,8 @@ wd33c93_proc_info(struct Scsi_Host *instance, char *buf, char **start, off_t off | |||
2132 | bp = buf; | 2131 | bp = buf; |
2133 | *bp = '\0'; | 2132 | *bp = '\0'; |
2134 | if (hd->proc & PR_VERSION) { | 2133 | if (hd->proc & PR_VERSION) { |
2135 | sprintf(tbuf, "\nVersion %s - %s. Compiled %s %s", | 2134 | sprintf(tbuf, "\nVersion %s - %s.", |
2136 | WD33C93_VERSION, WD33C93_DATE, __DATE__, __TIME__); | 2135 | WD33C93_VERSION, WD33C93_DATE); |
2137 | strcat(bp, tbuf); | 2136 | strcat(bp, tbuf); |
2138 | } | 2137 | } |
2139 | if (hd->proc & PR_INFO) { | 2138 | if (hd->proc & PR_INFO) { |