forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/scsi/bfa/bfa.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 #ifndef __BFA_H__
1911 #define __BFA_H__
....@@ -62,8 +54,7 @@
6254 ((__bfa)->iocfc.cfg.drvcfg.num_reqq_elems - 1); \
6355 writel((__bfa)->iocfc.req_cq_pi[__reqq], \
6456 (__bfa)->iocfc.bfa_regs.cpe_q_pi[__reqq]); \
65
- mmiowb(); \
66
- } while (0)
57
+ } while (0)
6758
6859 #define bfa_rspq_pi(__bfa, __rspq) \
6960 (*(u32 *)((__bfa)->iocfc.rsp_cq_shadow_pi[__rspq].kva))