2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License (GPL) Version 2 as
10 * published by the Free Software Foundation
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
19 * fcs_rport.h FCS rport interfaces and defines
22 #ifndef __FCS_RPORT_H__
23 #define __FCS_RPORT_H__
25 #include <fcs/bfa_fcs_rport.h>
27 void bfa_fcs_rport_modinit(struct bfa_fcs_s
*fcs
);
28 void bfa_fcs_rport_modexit(struct bfa_fcs_s
*fcs
);
30 void bfa_fcs_rport_uf_recv(struct bfa_fcs_rport_s
*rport
, struct fchs_s
*fchs
,
32 void bfa_fcs_rport_scn(struct bfa_fcs_rport_s
*rport
);
34 struct bfa_fcs_rport_s
*bfa_fcs_rport_create(struct bfa_fcs_port_s
*port
,
36 void bfa_fcs_rport_delete(struct bfa_fcs_rport_s
*rport
);
37 void bfa_fcs_rport_online(struct bfa_fcs_rport_s
*rport
);
38 void bfa_fcs_rport_offline(struct bfa_fcs_rport_s
*rport
);
39 void bfa_fcs_rport_start(struct bfa_fcs_port_s
*port
, struct fchs_s
*rx_fchs
,
40 struct fc_logi_s
*plogi_rsp
);
41 void bfa_fcs_rport_plogi_create(struct bfa_fcs_port_s
*port
,
42 struct fchs_s
*rx_fchs
,
43 struct fc_logi_s
*plogi
);
44 void bfa_fcs_rport_plogi(struct bfa_fcs_rport_s
*rport
, struct fchs_s
*fchs
,
45 struct fc_logi_s
*plogi
);
46 void bfa_fcs_rport_logo_imp(struct bfa_fcs_rport_s
*rport
);
47 void bfa_fcs_rport_itnim_ack(struct bfa_fcs_rport_s
*rport
);
48 void bfa_fcs_rport_itntm_ack(struct bfa_fcs_rport_s
*rport
);
49 void bfa_fcs_rport_tin_ack(struct bfa_fcs_rport_s
*rport
);
50 void bfa_fcs_rport_fcptm_offline_done(struct bfa_fcs_rport_s
*rport
);
51 int bfa_fcs_rport_get_state(struct bfa_fcs_rport_s
*rport
);
52 struct bfa_fcs_rport_s
*bfa_fcs_rport_create_by_wwn(struct bfa_fcs_port_s
*port
,
57 void bfa_fcs_rpf_init(struct bfa_fcs_rport_s
*rport
);
58 void bfa_fcs_rpf_rport_online(struct bfa_fcs_rport_s
*rport
);
59 void bfa_fcs_rpf_rport_offline(struct bfa_fcs_rport_s
*rport
);
61 #endif /* __FCS_RPORT_H__ */