diff options
Diffstat (limited to 'drivers/scsi/bfa/fcs_fcptm.h')
-rw-r--r-- | drivers/scsi/bfa/fcs_fcptm.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/fcs_fcptm.h b/drivers/scsi/bfa/fcs_fcptm.h new file mode 100644 index 000000000000..ffff0829fd31 --- /dev/null +++ b/drivers/scsi/bfa/fcs_fcptm.h | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2005-2009 Brocade Communications Systems, Inc. | ||
3 | * All rights reserved | ||
4 | * www.brocade.com | ||
5 | * | ||
6 | * Linux driver for Brocade Fibre Channel Host Bus Adapter. | ||
7 | * | ||
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 | ||
11 | * | ||
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. | ||
16 | */ | ||
17 | |||
18 | #ifndef __FCS_FCPTM_H__ | ||
19 | #define __FCS_FCPTM_H__ | ||
20 | |||
21 | #include <defs/bfa_defs_port.h> | ||
22 | #include <fcs/bfa_fcs_lport.h> | ||
23 | #include <fcs/bfa_fcs_rport.h> | ||
24 | |||
25 | /* | ||
26 | * Following routines are from FCPTM and will be called by rport. | ||
27 | */ | ||
28 | struct bfa_fcs_tin_s *bfa_fcs_tin_create(struct bfa_fcs_rport_s *rport); | ||
29 | void bfa_fcs_tin_rport_offline(struct bfa_fcs_tin_s *tin); | ||
30 | void bfa_fcs_tin_rport_online(struct bfa_fcs_tin_s *tin); | ||
31 | void bfa_fcs_tin_delete(struct bfa_fcs_tin_s *tin); | ||
32 | void bfa_fcs_tin_rx_prli(struct bfa_fcs_tin_s *tin, struct fchs_s *fchs, | ||
33 | u16 len); | ||
34 | void bfa_fcs_tin_pause(struct bfa_fcs_tin_s *tin); | ||
35 | void bfa_fcs_tin_resume(struct bfa_fcs_tin_s *tin); | ||
36 | |||
37 | /* | ||
38 | * Modudle init/cleanup routines. | ||
39 | */ | ||
40 | void bfa_fcs_fcptm_modinit(struct bfa_fcs_s *fcs); | ||
41 | void bfa_fcs_fcptm_modexit(struct bfa_fcs_s *fcs); | ||
42 | void bfa_fcs_fcptm_uf_recv(struct bfa_fcs_tin_s *tin, struct fchs_s *fchs, | ||
43 | u16 len); | ||
44 | |||
45 | #endif /* __FCS_FCPTM_H__ */ | ||