hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/scsi/bfa/bfa_fcbuild.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
34 * Copyright (c) 2014- QLogic Corporation.
....@@ -5,15 +6,6 @@
56 * www.qlogic.com
67 *
78 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter.
8
- *
9
- * This program is free software; you can redistribute it and/or modify it
10
- * under the terms of the GNU General Public License (GPL) Version 2 as
11
- * published by the Free Software Foundation
12
- *
13
- * This program is distributed in the hope that it will be useful, but
14
- * WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
- * General Public License for more details.
179 */
1810 /*
1911 * fcbuild.h - FC link service frame building and parsing routines
....@@ -163,7 +155,6 @@
163155
164156 u16 fc_rrq_build(struct fchs_s *buf, struct fc_rrq_s *rrq, u32 d_id,
165157 u32 s_id, u16 ox_id, u16 rrq_oxid);
166
-enum fc_parse_status fc_rrq_rsp_parse(struct fchs_s *buf, int len);
167158
168159 u16 fc_rspnid_build(struct fchs_s *fchs, void *pld, u32 s_id,
169160 u16 ox_id, u8 *name);
....@@ -276,8 +267,6 @@
276267 void fc_els_req_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
277268 __be16 ox_id);
278269
279
-enum fc_parse_status fc_els_rsp_parse(struct fchs_s *fchs, int len);
280
-
281270 enum fc_parse_status fc_plogi_rsp_parse(struct fchs_s *fchs, int len,
282271 wwn_t port_name);
283272
....@@ -297,8 +286,6 @@
297286 u16 fc_prlo_acc_build(struct fchs_s *fchs, struct fc_prlo_acc_s *prlo_acc,
298287 u32 d_id, u32 s_id, __be16 ox_id, int num_pages);
299288
300
-u16 fc_logo_rsp_parse(struct fchs_s *fchs, int len);
301
-
302289 u16 fc_pdisc_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
303290 u16 ox_id, wwn_t port_name, wwn_t node_name,
304291 u16 pdu_size);
....@@ -308,13 +295,9 @@
308295 u16 fc_prlo_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
309296 u16 ox_id, int num_pages);
310297
311
-u16 fc_prlo_rsp_parse(struct fchs_s *fchs, int len);
312
-
313298 u16 fc_tprlo_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
314299 u16 ox_id, int num_pages, enum fc_tprlo_type tprlo_type,
315300 u32 tpr_id);
316
-
317
-u16 fc_tprlo_rsp_parse(struct fchs_s *fchs, int len);
318301
319302 u16 fc_ba_rjt_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
320303 __be16 ox_id, u32 reason_code, u32 reason_expl);