aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/aacraid.h
diff options
context:
space:
mode:
authorMark Haverkamp <markh@osdl.org>2005-09-22 12:15:24 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-09-26 18:41:13 -0400
commit7a8cf29d69e077dfe90e327859201fd9b75a47ce (patch)
treef2176261e25a0d94d85c09a66d6d40285fa925bf /drivers/scsi/aacraid/aacraid.h
parentc4a3e0a529ab3e65223e81681c7c6b1bc188fa58 (diff)
[SCSI] aacraid: Greater than 2TB capacity support
Received from Mark Salyzyn from Adaptec. There are a few adapters that are capable of creating devices with this large of a capacity, but now that we have the large fib support in, the management applications will be capable of generating them. The problem is, once they are created, the driver will not be able to access the devices correctly without this patch. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/aacraid.h')
-rw-r--r--drivers/scsi/aacraid/aacraid.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h
index e40528185d48..6fd5074efa5c 100644
--- a/drivers/scsi/aacraid/aacraid.h
+++ b/drivers/scsi/aacraid/aacraid.h
@@ -1,6 +1,10 @@
1#if (!defined(dprintk)) 1#if (!defined(dprintk))
2# define dprintk(x) 2# define dprintk(x)
3#endif 3#endif
4/* eg: if (nblank(dprintk(x))) */
5#define _nblank(x) #x
6#define nblank(x) _nblank(x)[0]
7
4 8
5/*------------------------------------------------------------------------------ 9/*------------------------------------------------------------------------------
6 * D E F I N E S 10 * D E F I N E S
@@ -1012,6 +1016,7 @@ struct aac_dev
1012 /* macro side-effects BEWARE */ 1016 /* macro side-effects BEWARE */
1013# define raw_io_interface \ 1017# define raw_io_interface \
1014 init->InitStructRevision==cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_4) 1018 init->InitStructRevision==cpu_to_le32(ADAPTER_INIT_STRUCT_REVISION_4)
1019 u8 raw_io_64;
1015 u8 printf_enabled; 1020 u8 printf_enabled;
1016}; 1021};
1017 1022
@@ -1362,8 +1367,10 @@ struct aac_srb_reply
1362#define VM_CtBlockVerify64 18 1367#define VM_CtBlockVerify64 18
1363#define VM_CtHostRead64 19 1368#define VM_CtHostRead64 19
1364#define VM_CtHostWrite64 20 1369#define VM_CtHostWrite64 20
1370#define VM_DrvErrTblLog 21
1371#define VM_NameServe64 22
1365 1372
1366#define MAX_VMCOMMAND_NUM 21 /* used for sizing stats array - leave last */ 1373#define MAX_VMCOMMAND_NUM 23 /* used for sizing stats array - leave last */
1367 1374
1368/* 1375/*
1369 * Descriptive information (eg, vital stats) 1376 * Descriptive information (eg, vital stats)
@@ -1472,6 +1479,7 @@ struct aac_mntent {
1472 manager (eg, filesystem) */ 1479 manager (eg, filesystem) */
1473 __le32 altoid; /* != oid <==> snapshot or 1480 __le32 altoid; /* != oid <==> snapshot or
1474 broken mirror exists */ 1481 broken mirror exists */
1482 __le32 capacityhigh;
1475}; 1483};
1476 1484
1477#define FSCS_NOTCLEAN 0x0001 /* fsck is neccessary before mounting */ 1485#define FSCS_NOTCLEAN 0x0001 /* fsck is neccessary before mounting */