summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_defs.h
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2012-09-22 02:25:02 +0200
committerJames Bottomley <JBottomley@Parallels.com>2012-10-07 12:13:00 +0200
commitea5d7c9ecb08d65af9ebf8db113e576430a6a14f (patch)
tree6697ab9bcc698f060e7ddb2ce9fa35751fbea285 /drivers/scsi/bfa/bfa_defs.h
parent[SCSI] bfa: Flash Controller PLL initialization fixes (diff)
downloadlinux-ea5d7c9ecb08d65af9ebf8db113e576430a6a14f.tar.xz
linux-ea5d7c9ecb08d65af9ebf8db113e576430a6a14f.zip
[SCSI] bfa: Add support to have mfg date as part of adapter attributes
Made changes to expose mfg day/month/year as part of the adapter attributes for user space applications. Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com> Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_defs.h')
-rw-r--r--drivers/scsi/bfa/bfa_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_defs.h b/drivers/scsi/bfa/bfa_defs.h
index f1c9314e86a3..4e7777682089 100644
--- a/drivers/scsi/bfa/bfa_defs.h
+++ b/drivers/scsi/bfa/bfa_defs.h
@@ -254,6 +254,10 @@ struct bfa_adapter_attr_s {
u8 is_mezz;
u8 trunk_capable;
+ u8 mfg_day; /* manufacturing day */
+ u8 mfg_month; /* manufacturing month */
+ u16 mfg_year; /* manufacturing year */
+ u16 rsvd;
};
/*