| .. | .. |
|---|
| 1 | | -/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 2 | 1 | /* |
|---|
| 3 | 2 | * Dongle BUS interface Abstraction layer |
|---|
| 4 | 3 | * target serial buses like USB, SDIO, SPI, etc. |
|---|
| 5 | 4 | * |
|---|
| 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 | + * |
|---|
| 8 | 9 | * Unless you and Broadcom execute a separate written software license |
|---|
| 9 | 10 | * agreement governing use of this software, this software is licensed to you |
|---|
| 10 | 11 | * under the terms of the GNU General Public License version 2 (the "GPL"), |
|---|
| 11 | 12 | * available at http://www.broadcom.com/licenses/GPLv2.php, with the |
|---|
| 12 | 13 | * following added to such license: |
|---|
| 13 | | - * |
|---|
| 14 | + * |
|---|
| 14 | 15 | * As a special exception, the copyright holders of this software give you |
|---|
| 15 | 16 | * permission to link this software with independent modules, and to copy and |
|---|
| 16 | 17 | * distribute the resulting executable under terms of your choice, provided that |
|---|
| .. | .. |
|---|
| 18 | 19 | * the license of that module. An independent module is a module which is not |
|---|
| 19 | 20 | * derived from this software. The special exception does not apply to any |
|---|
| 20 | 21 | * modifications of the software. |
|---|
| 21 | | - * |
|---|
| 22 | + * |
|---|
| 22 | 23 | * Notwithstanding the above, under no circumstances may you combine this |
|---|
| 23 | 24 | * software in any way with any other Broadcom software provided under a license |
|---|
| 24 | 25 | * other than the GPL, without Broadcom's express prior written consent. |
|---|
| .. | .. |
|---|
| 26 | 27 | * |
|---|
| 27 | 28 | * <<Broadcom-WL-IPTag/Open:>> |
|---|
| 28 | 29 | * |
|---|
| 29 | | - * $Id: dbus.h 594565 2015-10-22 20:40:10Z $ |
|---|
| 30 | + * $Id: dbus.h 686618 2017-02-23 07:20:43Z $ |
|---|
| 30 | 31 | */ |
|---|
| 31 | 32 | |
|---|
| 32 | 33 | #ifndef __DBUS_H__ |
|---|
| .. | .. |
|---|
| 425 | 426 | extern void dbus_release_fw_nvfile(void *firmware); |
|---|
| 426 | 427 | #endif /* #if defined(BCM_REQUEST_FW) */ |
|---|
| 427 | 428 | |
|---|
| 428 | | - |
|---|
| 429 | 429 | #if defined(EHCI_FASTPATH_TX) || defined(EHCI_FASTPATH_RX) |
|---|
| 430 | | - |
|---|
| 431 | 430 | |
|---|
| 432 | 431 | #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)) |
|---|
| 433 | 432 | /* Backward compatibility */ |
|---|
| .. | .. |
|---|
| 453 | 452 | typedef unsigned int __hc32; |
|---|
| 454 | 453 | #else |
|---|
| 455 | 454 | #error Two-argument functions needed |
|---|
| 456 | | -#endif |
|---|
| 455 | +#endif // endif |
|---|
| 457 | 456 | |
|---|
| 458 | 457 | /* Private USB opcode base */ |
|---|
| 459 | 458 | #define EHCI_FASTPATH 0x31 |
|---|