| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. |
|---|
| 3 | 4 | * Copyright (c) 2014- QLogic Corporation. |
|---|
| .. | .. |
|---|
| 5 | 6 | * www.qlogic.com |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * 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. |
|---|
| 17 | 9 | */ |
|---|
| 18 | 10 | |
|---|
| 19 | 11 | #include "bfad_drv.h" |
|---|
| .. | .. |
|---|
| 372 | 364 | writel(r32, rb + FNC_PERS_REG); |
|---|
| 373 | 365 | } |
|---|
| 374 | 366 | |
|---|
| 375 | | -bfa_boolean_t |
|---|
| 367 | +static bfa_boolean_t |
|---|
| 376 | 368 | bfa_ioc_ct2_lpu_read_stat(struct bfa_ioc_s *ioc) |
|---|
| 377 | 369 | { |
|---|
| 378 | 370 | u32 r32; |
|---|
| .. | .. |
|---|
| 504 | 496 | return BFA_FALSE; |
|---|
| 505 | 497 | } |
|---|
| 506 | 498 | |
|---|
| 507 | | -/** |
|---|
| 499 | +/* |
|---|
| 508 | 500 | * Called from bfa_ioc_attach() to map asic specific calls. |
|---|
| 509 | 501 | */ |
|---|
| 510 | 502 | static void |
|---|
| .. | .. |
|---|
| 525 | 517 | hwif->ioc_get_alt_fwstate = bfa_ioc_ct_get_alt_ioc_fwstate; |
|---|
| 526 | 518 | } |
|---|
| 527 | 519 | |
|---|
| 528 | | -/** |
|---|
| 520 | +/* |
|---|
| 529 | 521 | * Called from bfa_ioc_attach() to map asic specific calls. |
|---|
| 530 | 522 | */ |
|---|
| 531 | 523 | void |
|---|
| .. | .. |
|---|
| 540 | 532 | ioc->ioc_hwif = &hwif_ct; |
|---|
| 541 | 533 | } |
|---|
| 542 | 534 | |
|---|
| 543 | | -/** |
|---|
| 535 | +/* |
|---|
| 544 | 536 | * Called from bfa_ioc_attach() to map asic specific calls. |
|---|
| 545 | 537 | */ |
|---|
| 546 | 538 | void |
|---|
| .. | .. |
|---|
| 752 | 744 | writel(0, (rb + CT2_MBIST_CTL_REG)); |
|---|
| 753 | 745 | } |
|---|
| 754 | 746 | |
|---|
| 755 | | -void |
|---|
| 747 | +static void |
|---|
| 756 | 748 | bfa_ioc_ct2_mac_reset(void __iomem *rb) |
|---|
| 757 | 749 | { |
|---|
| 758 | 750 | /* put port0, port1 MAC & AHB in reset */ |
|---|