aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfi_ms.h
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2011-06-13 18:51:24 -0400
committerJames Bottomley <JBottomley@Parallels.com>2011-06-29 16:37:48 -0400
commitdd5aaf4536c5111784a18d935b9b5adeac9f914c (patch)
tree14902190b847f78c638880b63392b909fbcc3234 /drivers/scsi/bfa/bfi_ms.h
parent111892082ed7a3214bc7a7ec6b8b20e8f847501a (diff)
[SCSI] bfa: Changes to support vport disable and enable operations.
Made changes to FCS lport, vport state machines to support vport enable / disable operations. Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfi_ms.h')
-rw-r--r--drivers/scsi/bfa/bfi_ms.h42
1 files changed, 22 insertions, 20 deletions
diff --git a/drivers/scsi/bfa/bfi_ms.h b/drivers/scsi/bfa/bfi_ms.h
index c9c8e8da5bd1..d43bf6a08a66 100644
--- a/drivers/scsi/bfa/bfi_ms.h
+++ b/drivers/scsi/bfa/bfi_ms.h
@@ -373,7 +373,8 @@ struct bfi_lps_login_req_s {
373 wwn_t nwwn; 373 wwn_t nwwn;
374 u8 fdisc; 374 u8 fdisc;
375 u8 auth_en; 375 u8 auth_en;
376 u8 rsvd[2]; 376 u8 lps_role;
377 u8 rsvd[1];
377}; 378};
378 379
379struct bfi_lps_login_rsp_s { 380struct bfi_lps_login_rsp_s {
@@ -515,62 +516,63 @@ union bfi_rport_i2h_msg_u {
515 * Initiator mode I-T nexus interface defines. 516 * Initiator mode I-T nexus interface defines.
516 */ 517 */
517 518
518enum bfi_itnim_h2i { 519enum bfi_itn_h2i {
519 BFI_ITNIM_H2I_CREATE_REQ = 1, /* i-t nexus creation */ 520 BFI_ITN_H2I_CREATE_REQ = 1, /* i-t nexus creation */
520 BFI_ITNIM_H2I_DELETE_REQ = 2, /* i-t nexus deletion */ 521 BFI_ITN_H2I_DELETE_REQ = 2, /* i-t nexus deletion */
521}; 522};
522 523
523enum bfi_itnim_i2h { 524enum bfi_itn_i2h {
524 BFI_ITNIM_I2H_CREATE_RSP = BFA_I2HM(1), 525 BFI_ITN_I2H_CREATE_RSP = BFA_I2HM(1),
525 BFI_ITNIM_I2H_DELETE_RSP = BFA_I2HM(2), 526 BFI_ITN_I2H_DELETE_RSP = BFA_I2HM(2),
526 BFI_ITNIM_I2H_SLER_EVENT = BFA_I2HM(3), 527 BFI_ITN_I2H_SLER_EVENT = BFA_I2HM(3),
527}; 528};
528 529
529struct bfi_itnim_create_req_s { 530struct bfi_itn_create_req_s {
530 struct bfi_mhdr_s mh; /* common msg header */ 531 struct bfi_mhdr_s mh; /* common msg header */
531 u16 fw_handle; /* f/w handle for itnim */ 532 u16 fw_handle; /* f/w handle for itnim */
532 u8 class; /* FC class for IO */ 533 u8 class; /* FC class for IO */
533 u8 seq_rec; /* sequence recovery support */ 534 u8 seq_rec; /* sequence recovery support */
534 u8 msg_no; /* seq id of the msg */ 535 u8 msg_no; /* seq id of the msg */
536 u8 role;
535}; 537};
536 538
537struct bfi_itnim_create_rsp_s { 539struct bfi_itn_create_rsp_s {
538 struct bfi_mhdr_s mh; /* common msg header */ 540 struct bfi_mhdr_s mh; /* common msg header */
539 u16 bfa_handle; /* bfa handle for itnim */ 541 u16 bfa_handle; /* bfa handle for itnim */
540 u8 status; /* fcp request status */ 542 u8 status; /* fcp request status */
541 u8 seq_id; /* seq id of the msg */ 543 u8 seq_id; /* seq id of the msg */
542}; 544};
543 545
544struct bfi_itnim_delete_req_s { 546struct bfi_itn_delete_req_s {
545 struct bfi_mhdr_s mh; /* common msg header */ 547 struct bfi_mhdr_s mh; /* common msg header */
546 u16 fw_handle; /* f/w itnim handle */ 548 u16 fw_handle; /* f/w itnim handle */
547 u8 seq_id; /* seq id of the msg */ 549 u8 seq_id; /* seq id of the msg */
548 u8 rsvd; 550 u8 rsvd;
549}; 551};
550 552
551struct bfi_itnim_delete_rsp_s { 553struct bfi_itn_delete_rsp_s {
552 struct bfi_mhdr_s mh; /* common msg header */ 554 struct bfi_mhdr_s mh; /* common msg header */
553 u16 bfa_handle; /* bfa handle for itnim */ 555 u16 bfa_handle; /* bfa handle for itnim */
554 u8 status; /* fcp request status */ 556 u8 status; /* fcp request status */
555 u8 seq_id; /* seq id of the msg */ 557 u8 seq_id; /* seq id of the msg */
556}; 558};
557 559
558struct bfi_itnim_sler_event_s { 560struct bfi_itn_sler_event_s {
559 struct bfi_mhdr_s mh; /* common msg header */ 561 struct bfi_mhdr_s mh; /* common msg header */
560 u16 bfa_handle; /* bfa handle for itnim */ 562 u16 bfa_handle; /* bfa handle for itnim */
561 u16 rsvd; 563 u16 rsvd;
562}; 564};
563 565
564union bfi_itnim_h2i_msg_u { 566union bfi_itn_h2i_msg_u {
565 struct bfi_itnim_create_req_s *create_req; 567 struct bfi_itn_create_req_s *create_req;
566 struct bfi_itnim_delete_req_s *delete_req; 568 struct bfi_itn_delete_req_s *delete_req;
567 struct bfi_msg_s *msg; 569 struct bfi_msg_s *msg;
568}; 570};
569 571
570union bfi_itnim_i2h_msg_u { 572union bfi_itn_i2h_msg_u {
571 struct bfi_itnim_create_rsp_s *create_rsp; 573 struct bfi_itn_create_rsp_s *create_rsp;
572 struct bfi_itnim_delete_rsp_s *delete_rsp; 574 struct bfi_itn_delete_rsp_s *delete_rsp;
573 struct bfi_itnim_sler_event_s *sler_event; 575 struct bfi_itn_sler_event_s *sler_event;
574 struct bfi_msg_s *msg; 576 struct bfi_msg_s *msg;
575}; 577};
576 578