aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBernhard Walle <bwalle@suse.de>2007-09-22 15:55:19 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:51:44 -0400
commit8c8fdc591057956c2ecbba1371a48b8857fe6d9d (patch)
tree5c97972d088c495fbd936f7995a205568976c62f /drivers/scsi
parenta50ee7a72888d072512e4434c44959743bfb1570 (diff)
[SCSI] ips: Update version information
This patch just makes the version number in ips.c and ips.h consistent. It seems that this has been forgotten in a60768e2d43eb30a1adb8a119aeac35dc0d03ef6. It also removes code duplication, each number is now only once in the code to avoid similar errors in the future. Signed-off-by: Bernhard Walle <bwalle@suse.de> Acked-by: Mark Salyzyn <aacraid@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ips.c4
-rw-r--r--drivers/scsi/ips.h11
2 files changed, 8 insertions, 7 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c
index 36b676594336..2ed099e2c20d 100644
--- a/drivers/scsi/ips.c
+++ b/drivers/scsi/ips.c
@@ -204,8 +204,8 @@ module_param(ips, charp, 0);
204/* 204/*
205 * DRIVER_VER 205 * DRIVER_VER
206 */ 206 */
207#define IPS_VERSION_HIGH "7.12" 207#define IPS_VERSION_HIGH IPS_VER_MAJOR_STRING "." IPS_VER_MINOR_STRING
208#define IPS_VERSION_LOW ".05 " 208#define IPS_VERSION_LOW "." IPS_VER_BUILD_STRING " "
209 209
210#if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__) 210#if !defined(__i386__) && !defined(__ia64__) && !defined(__x86_64__)
211#warning "This driver has only been tested on the x86/ia64/x86_64 platforms" 211#warning "This driver has only been tested on the x86/ia64/x86_64 platforms"
diff --git a/drivers/scsi/ips.h b/drivers/scsi/ips.h
index 24123d537c58..3bcbd9ff056b 100644
--- a/drivers/scsi/ips.h
+++ b/drivers/scsi/ips.h
@@ -1172,12 +1172,13 @@ typedef struct {
1172*************************************************************************/ 1172*************************************************************************/
1173 1173
1174#define IPS_VER_MAJOR 7 1174#define IPS_VER_MAJOR 7
1175#define IPS_VER_MAJOR_STRING "7" 1175#define IPS_VER_MAJOR_STRING __stringify(IPS_VER_MAJOR)
1176#define IPS_VER_MINOR 12 1176#define IPS_VER_MINOR 12
1177#define IPS_VER_MINOR_STRING "12" 1177#define IPS_VER_MINOR_STRING __stringify(IPS_VER_MINOR)
1178#define IPS_VER_BUILD 02 1178#define IPS_VER_BUILD 05
1179#define IPS_VER_BUILD_STRING "02" 1179#define IPS_VER_BUILD_STRING __stringify(IPS_VER_BUILD)
1180#define IPS_VER_STRING "7.12.02" 1180#define IPS_VER_STRING IPS_VER_MAJOR_STRING "." \
1181 IPS_VER_MINOR_STRING "." IPS_VER_BUILD_STRING
1181#define IPS_RELEASE_ID 0x00020000 1182#define IPS_RELEASE_ID 0x00020000
1182#define IPS_BUILD_IDENT 761 1183#define IPS_BUILD_IDENT 761
1183#define IPS_LEGALCOPYRIGHT_STRING "(C) Copyright IBM Corp. 1994, 2002. All Rights Reserved." 1184#define IPS_LEGALCOPYRIGHT_STRING "(C) Copyright IBM Corp. 1994, 2002. All Rights Reserved."