forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/dbus.h
....@@ -1,16 +1,17 @@
1
-/* SPDX-License-Identifier: GPL-2.0 */
21 /*
32 * Dongle BUS interface Abstraction layer
43 * target serial buses like USB, SDIO, SPI, etc.
54 *
6
- * Copyright (C) 1999-2019, Broadcom Corporation
7
- *
5
+ * Portions of this code are copyright (c) 2022 Cypress Semiconductor Corporation
6
+ *
7
+ * Copyright (C) 1999-2017, Broadcom Corporation
8
+ *
89 * Unless you and Broadcom execute a separate written software license
910 * agreement governing use of this software, this software is licensed to you
1011 * under the terms of the GNU General Public License version 2 (the "GPL"),
1112 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
1213 * following added to such license:
13
- *
14
+ *
1415 * As a special exception, the copyright holders of this software give you
1516 * permission to link this software with independent modules, and to copy and
1617 * distribute the resulting executable under terms of your choice, provided that
....@@ -18,7 +19,7 @@
1819 * the license of that module. An independent module is a module which is not
1920 * derived from this software. The special exception does not apply to any
2021 * modifications of the software.
21
- *
22
+ *
2223 * Notwithstanding the above, under no circumstances may you combine this
2324 * software in any way with any other Broadcom software provided under a license
2425 * other than the GPL, without Broadcom's express prior written consent.
....@@ -26,7 +27,7 @@
2627 *
2728 * <<Broadcom-WL-IPTag/Open:>>
2829 *
29
- * $Id: dbus.h 594565 2015-10-22 20:40:10Z $
30
+ * $Id: dbus.h 686618 2017-02-23 07:20:43Z $
3031 */
3132
3233 #ifndef __DBUS_H__
....@@ -425,9 +426,7 @@
425426 extern void dbus_release_fw_nvfile(void *firmware);
426427 #endif /* #if defined(BCM_REQUEST_FW) */
427428
428
-
429429 #if defined(EHCI_FASTPATH_TX) || defined(EHCI_FASTPATH_RX)
430
-
431430
432431 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0))
433432 /* Backward compatibility */
....@@ -453,7 +452,7 @@
453452 typedef unsigned int __hc32;
454453 #else
455454 #error Two-argument functions needed
456
-#endif
455
+#endif // endif
457456
458457 /* Private USB opcode base */
459458 #define EHCI_FASTPATH 0x31