.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Aic94xx SAS/SATA driver sequencer interface. |
---|
3 | 4 | * |
---|
.. | .. |
---|
5 | 6 | * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> |
---|
6 | 7 | * |
---|
7 | 8 | * Parts of this code adapted from David Chaw's adp94xx_seq.c. |
---|
8 | | - * |
---|
9 | | - * This file is licensed under GPLv2. |
---|
10 | | - * |
---|
11 | | - * This file is part of the aic94xx driver. |
---|
12 | | - * |
---|
13 | | - * The aic94xx driver is free software; you can redistribute it and/or |
---|
14 | | - * modify it under the terms of the GNU General Public License as |
---|
15 | | - * published by the Free Software Foundation; version 2 of the |
---|
16 | | - * License. |
---|
17 | | - * |
---|
18 | | - * The aic94xx driver is distributed in the hope that it will be useful, |
---|
19 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
20 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
21 | | - * General Public License for more details. |
---|
22 | | - * |
---|
23 | | - * You should have received a copy of the GNU General Public License |
---|
24 | | - * along with the aic94xx driver; if not, write to the Free Software |
---|
25 | | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
26 | | - * |
---|
27 | 9 | */ |
---|
28 | 10 | |
---|
29 | 11 | #include <linux/delay.h> |
---|
.. | .. |
---|
600 | 582 | /** |
---|
601 | 583 | * asd_init_lseq_mip -- initialize LSEQ Mode independent pages 0-3 |
---|
602 | 584 | * @asd_ha: pointer to host adapter structure |
---|
| 585 | + * @lseq: link sequencer |
---|
603 | 586 | */ |
---|
604 | 587 | static void asd_init_lseq_mip(struct asd_ha_struct *asd_ha, u8 lseq) |
---|
605 | 588 | { |
---|
.. | .. |
---|
687 | 670 | /** |
---|
688 | 671 | * asd_init_lseq_mdp -- initialize LSEQ mode dependent pages. |
---|
689 | 672 | * @asd_ha: pointer to host adapter structure |
---|
| 673 | + * @lseq: link sequencer |
---|
690 | 674 | */ |
---|
691 | 675 | static void asd_init_lseq_mdp(struct asd_ha_struct *asd_ha, int lseq) |
---|
692 | 676 | { |
---|
.. | .. |
---|
971 | 955 | /** |
---|
972 | 956 | * asd_init_lseq_cio -- initialize LmSEQ CIO registers |
---|
973 | 957 | * @asd_ha: pointer to host adapter structure |
---|
| 958 | + * @lseq: link sequencer |
---|
974 | 959 | */ |
---|
975 | 960 | static void asd_init_lseq_cio(struct asd_ha_struct *asd_ha, int lseq) |
---|
976 | 961 | { |
---|
.. | .. |
---|
1363 | 1348 | |
---|
1364 | 1349 | /** |
---|
1365 | 1350 | * asd_update_port_links -- update port_map_by_links and phy_is_up |
---|
1366 | | - * @sas_phy: pointer to the phy which has been added to a port |
---|
| 1351 | + * @asd_ha: pointer to host adapter structure |
---|
| 1352 | + * @phy: pointer to the phy which has been added to a port |
---|
1367 | 1353 | * |
---|
1368 | 1354 | * 1) When a link reset has completed and we got BYTES DMAED with a |
---|
1369 | 1355 | * valid frame we call this function for that phy, to indicate that |
---|