Commit b836439f authored by Mahesh Rajashekhara's avatar Mahesh Rajashekhara Committed by James Bottomley

aacraid: 4KB sector support

Also fix up a name truncation problem
Signed-off-by: default avatarMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Reviewed-by: default avatarMurthy Bhat <Murthy.Bhat@pmcs.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Odin.com>
parent 2f5d1f79
This diff is collapsed.
...@@ -857,6 +857,7 @@ struct fsa_dev_info { ...@@ -857,6 +857,7 @@ struct fsa_dev_info {
u8 deleted; u8 deleted;
char devname[8]; char devname[8];
struct sense_data sense_data; struct sense_data sense_data;
u32 block_size;
}; };
struct fib { struct fib {
...@@ -960,6 +961,8 @@ struct aac_supplement_adapter_info ...@@ -960,6 +961,8 @@ struct aac_supplement_adapter_info
#define AAC_OPTION_IGNORE_RESET cpu_to_le32(0x00000002) #define AAC_OPTION_IGNORE_RESET cpu_to_le32(0x00000002)
#define AAC_OPTION_POWER_MANAGEMENT cpu_to_le32(0x00000004) #define AAC_OPTION_POWER_MANAGEMENT cpu_to_le32(0x00000004)
#define AAC_OPTION_DOORBELL_RESET cpu_to_le32(0x00004000) #define AAC_OPTION_DOORBELL_RESET cpu_to_le32(0x00004000)
/* 4KB sector size */
#define AAC_OPTION_VARIABLE_BLOCK_SIZE cpu_to_le32(0x00040000)
#define AAC_SIS_VERSION_V3 3 #define AAC_SIS_VERSION_V3 3
#define AAC_SIS_SLOT_UNKNOWN 0xFF #define AAC_SIS_SLOT_UNKNOWN 0xFF
...@@ -1589,6 +1592,7 @@ struct aac_srb_reply ...@@ -1589,6 +1592,7 @@ struct aac_srb_reply
#define VM_CtHostWrite64 20 #define VM_CtHostWrite64 20
#define VM_DrvErrTblLog 21 #define VM_DrvErrTblLog 21
#define VM_NameServe64 22 #define VM_NameServe64 22
#define VM_NameServeAllBlk 30
#define MAX_VMCOMMAND_NUM 23 /* used for sizing stats array - leave last */ #define MAX_VMCOMMAND_NUM 23 /* used for sizing stats array - leave last */
...@@ -1611,8 +1615,13 @@ struct aac_fsinfo { ...@@ -1611,8 +1615,13 @@ struct aac_fsinfo {
__le32 fsInodeDensity; __le32 fsInodeDensity;
}; /* valid iff ObjType == FT_FILESYS && !(ContentState & FSCS_NOTCLEAN) */ }; /* valid iff ObjType == FT_FILESYS && !(ContentState & FSCS_NOTCLEAN) */
struct aac_blockdevinfo {
__le32 block_size;
};
union aac_contentinfo { union aac_contentinfo {
struct aac_fsinfo filesys; /* valid iff ObjType == FT_FILESYS && !(ContentState & FSCS_NOTCLEAN) */ struct aac_fsinfo filesys;
struct aac_blockdevinfo bdevinfo;
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment