aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/aacraid.h
diff options
context:
space:
mode:
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>2007-07-26 14:20:02 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-27 09:13:28 -0400
commitc835e3727b87115f98c612a5ecb8882826d2537e (patch)
treee371abba43e2cad31b6fc1b96e22444381e9ffa5 /drivers/scsi/aacraid/aacraid.h
parentb6d44fe9582b9d90a0b16f508ac08a90d899bf56 (diff)
[SCSI] aacraid: draw line in sand, sundry cleanup and version update
Minor unimportant cuttings from the floor bundled in with a version stamp update. Only controversial change is the dropping of Alan Cox copyright on the nark.c module since that file has no code written by him in it. Signed-off-by: Mark Salyzyn <aacraid@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/aacraid.h')
-rw-r--r--drivers/scsi/aacraid/aacraid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h
index 400d03403cd5..94727b9375ec 100644
--- a/drivers/scsi/aacraid/aacraid.h
+++ b/drivers/scsi/aacraid/aacraid.h
@@ -12,7 +12,7 @@
12 *----------------------------------------------------------------------------*/ 12 *----------------------------------------------------------------------------*/
13 13
14#ifndef AAC_DRIVER_BUILD 14#ifndef AAC_DRIVER_BUILD
15# define AAC_DRIVER_BUILD 2447 15# define AAC_DRIVER_BUILD 2449
16# define AAC_DRIVER_BRANCH "-ms" 16# define AAC_DRIVER_BRANCH "-ms"
17#endif 17#endif
18#define MAXIMUM_NUM_CONTAINERS 32 18#define MAXIMUM_NUM_CONTAINERS 32
@@ -1807,10 +1807,10 @@ struct aac_aifcmd {
1807 * accounting for the fact capacity could be a 64 bit value 1807 * accounting for the fact capacity could be a 64 bit value
1808 * 1808 *
1809 */ 1809 */
1810static inline u32 cap_to_cyls(sector_t capacity, u32 divisor) 1810static inline unsigned int cap_to_cyls(sector_t capacity, unsigned divisor)
1811{ 1811{
1812 sector_div(capacity, divisor); 1812 sector_div(capacity, divisor);
1813 return (u32)capacity; 1813 return capacity;
1814} 1814}
1815 1815
1816/* SCp.phase values */ 1816/* SCp.phase values */