aacraid: 4KB sector support
Also fix up a name truncation problem Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
This commit is contained in:

committed by
James Bottomley

parent
2f5d1f7998
commit
b836439faf
@@ -857,6 +857,7 @@ struct fsa_dev_info {
|
||||
u8 deleted;
|
||||
char devname[8];
|
||||
struct sense_data sense_data;
|
||||
u32 block_size;
|
||||
};
|
||||
|
||||
struct fib {
|
||||
@@ -960,6 +961,8 @@ struct aac_supplement_adapter_info
|
||||
#define AAC_OPTION_IGNORE_RESET cpu_to_le32(0x00000002)
|
||||
#define AAC_OPTION_POWER_MANAGEMENT cpu_to_le32(0x00000004)
|
||||
#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_SLOT_UNKNOWN 0xFF
|
||||
|
||||
@@ -1589,6 +1592,7 @@ struct aac_srb_reply
|
||||
#define VM_CtHostWrite64 20
|
||||
#define VM_DrvErrTblLog 21
|
||||
#define VM_NameServe64 22
|
||||
#define VM_NameServeAllBlk 30
|
||||
|
||||
#define MAX_VMCOMMAND_NUM 23 /* used for sizing stats array - leave last */
|
||||
|
||||
@@ -1611,8 +1615,13 @@ struct aac_fsinfo {
|
||||
__le32 fsInodeDensity;
|
||||
}; /* valid iff ObjType == FT_FILESYS && !(ContentState & FSCS_NOTCLEAN) */
|
||||
|
||||
struct aac_blockdevinfo {
|
||||
__le32 block_size;
|
||||
};
|
||||
|
||||
union aac_contentinfo {
|
||||
struct aac_fsinfo filesys; /* valid iff ObjType == FT_FILESYS && !(ContentState & FSCS_NOTCLEAN) */
|
||||
struct aac_fsinfo filesys;
|
||||
struct aac_blockdevinfo bdevinfo;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user