diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-07-20 17:02:32 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-27 14:50:06 +0400 |
commit | a46bd300e191d5a1a7367a799a9f5268c5e6aafd (patch) | |
tree | d5735b3f19dc62fb0ad182e597337eb416f620b9 /drivers/scsi/bfa/bfad_bsg.h | |
parent | 37ea0558b87abb151245bc750070a4dcda490aca (diff) | |
download | linux-a46bd300e191d5a1a7367a799a9f5268c5e6aafd.tar.gz linux-a46bd300e191d5a1a7367a799a9f5268c5e6aafd.tar.bz2 linux-a46bd300e191d5a1a7367a799a9f5268c5e6aafd.zip |
[SCSI] bfa: Add support to configure and query flash boot partition
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfad_bsg.h')
-rw-r--r-- | drivers/scsi/bfa/bfad_bsg.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfad_bsg.h b/drivers/scsi/bfa/bfad_bsg.h index f64f3eee6dbf..95694cee0cd8 100644 --- a/drivers/scsi/bfa/bfad_bsg.h +++ b/drivers/scsi/bfa/bfad_bsg.h @@ -121,6 +121,11 @@ enum { IOCMD_ITNIM_GET_IOPROFILE, IOCMD_FCPORT_GET_STATS, IOCMD_FCPORT_RESET_STATS, + IOCMD_BOOT_CFG, + IOCMD_BOOT_QUERY, + IOCMD_PREBOOT_QUERY, + IOCMD_ETHBOOT_CFG, + IOCMD_ETHBOOT_QUERY, }; struct bfa_bsg_gen_s { @@ -630,6 +635,27 @@ struct bfa_bsg_vhba_attr_s { struct bfa_vhba_attr_s attr; }; +struct bfa_bsg_boot_s { + bfa_status_t status; + u16 bfad_num; + u16 rsvd; + struct bfa_boot_cfg_s cfg; +}; + +struct bfa_bsg_preboot_s { + bfa_status_t status; + u16 bfad_num; + u16 rsvd; + struct bfa_boot_pbc_s cfg; +}; + +struct bfa_bsg_ethboot_s { + bfa_status_t status; + u16 bfad_num; + u16 rsvd; + struct bfa_ethboot_cfg_s cfg; +}; + struct bfa_bsg_fcpt_s { bfa_status_t status; u16 vf_id; |