diff options
Diffstat (limited to 'drivers/scsi/aacraid/aacraid.h')
-rw-r--r-- | drivers/scsi/aacraid/aacraid.h | 10 |
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 */ |