hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/scsi/aic94xx/aic94xx_seq.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Aic94xx SAS/SATA driver sequencer interface.
34 *
....@@ -5,25 +6,6 @@
56 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
67 *
78 * 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
- *
279 */
2810
2911 #include <linux/delay.h>
....@@ -600,6 +582,7 @@
600582 /**
601583 * asd_init_lseq_mip -- initialize LSEQ Mode independent pages 0-3
602584 * @asd_ha: pointer to host adapter structure
585
+ * @lseq: link sequencer
603586 */
604587 static void asd_init_lseq_mip(struct asd_ha_struct *asd_ha, u8 lseq)
605588 {
....@@ -687,6 +670,7 @@
687670 /**
688671 * asd_init_lseq_mdp -- initialize LSEQ mode dependent pages.
689672 * @asd_ha: pointer to host adapter structure
673
+ * @lseq: link sequencer
690674 */
691675 static void asd_init_lseq_mdp(struct asd_ha_struct *asd_ha, int lseq)
692676 {
....@@ -971,6 +955,7 @@
971955 /**
972956 * asd_init_lseq_cio -- initialize LmSEQ CIO registers
973957 * @asd_ha: pointer to host adapter structure
958
+ * @lseq: link sequencer
974959 */
975960 static void asd_init_lseq_cio(struct asd_ha_struct *asd_ha, int lseq)
976961 {
....@@ -1363,7 +1348,8 @@
13631348
13641349 /**
13651350 * 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
13671353 *
13681354 * 1) When a link reset has completed and we got BYTES DMAED with a
13691355 * valid frame we call this function for that phy, to indicate that