aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/libsas/sas_ata.c2
-rw-r--r--drivers/scsi/libsas/sas_discover.c13
-rw-r--r--drivers/scsi/libsas/sas_expander.c29
-rw-r--r--drivers/scsi/libsas/sas_init.c2
-rw-r--r--drivers/scsi/libsas/sas_port.c5
5 files changed, 27 insertions, 24 deletions
diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c
index 2b3637b40dde..0cc1567eacc1 100644
--- a/drivers/scsi/libsas/sas_ata.c
+++ b/drivers/scsi/libsas/sas_ata.c
@@ -709,7 +709,7 @@ void sas_resume_sata(struct asd_sas_port *port)
709} 709}
710 710
711/** 711/**
712 * sas_discover_sata -- discover an STP/SATA domain device 712 * sas_discover_sata - discover an STP/SATA domain device
713 * @dev: pointer to struct domain_device of interest 713 * @dev: pointer to struct domain_device of interest
714 * 714 *
715 * Devices directly attached to a HA port, have no parents. All other 715 * Devices directly attached to a HA port, have no parents. All other
diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c
index e4fd078e4175..a0fa7ef3a071 100644
--- a/drivers/scsi/libsas/sas_discover.c
+++ b/drivers/scsi/libsas/sas_discover.c
@@ -55,7 +55,7 @@ void sas_init_dev(struct domain_device *dev)
55/* ---------- Domain device discovery ---------- */ 55/* ---------- Domain device discovery ---------- */
56 56
57/** 57/**
58 * sas_get_port_device -- Discover devices which caused port creation 58 * sas_get_port_device - Discover devices which caused port creation
59 * @port: pointer to struct sas_port of interest 59 * @port: pointer to struct sas_port of interest
60 * 60 *
61 * Devices directly attached to a HA port, have no parent. This is 61 * Devices directly attached to a HA port, have no parent. This is
@@ -278,8 +278,8 @@ static void sas_resume_devices(struct work_struct *work)
278} 278}
279 279
280/** 280/**
281 * sas_discover_end_dev -- discover an end device (SSP, etc) 281 * sas_discover_end_dev - discover an end device (SSP, etc)
282 * @end: pointer to domain device of interest 282 * @dev: pointer to domain device of interest
283 * 283 *
284 * See comment in sas_discover_sata(). 284 * See comment in sas_discover_sata().
285 */ 285 */
@@ -428,8 +428,8 @@ void sas_device_set_phy(struct domain_device *dev, struct sas_port *port)
428/* ---------- Discovery and Revalidation ---------- */ 428/* ---------- Discovery and Revalidation ---------- */
429 429
430/** 430/**
431 * sas_discover_domain -- discover the domain 431 * sas_discover_domain - discover the domain
432 * @port: port to the domain of interest 432 * @work: work structure embedded in port domain device.
433 * 433 *
434 * NOTE: this process _must_ quit (return) as soon as any connection 434 * NOTE: this process _must_ quit (return) as soon as any connection
435 * errors are encountered. Connection recovery is done elsewhere. 435 * errors are encountered. Connection recovery is done elsewhere.
@@ -572,7 +572,8 @@ int sas_discover_event(struct asd_sas_port *port, enum discover_event ev)
572} 572}
573 573
574/** 574/**
575 * sas_init_disc -- initialize the discovery struct in the port 575 * sas_init_disc - initialize the discovery struct in the port
576 * @disc: port discovery structure
576 * @port: pointer to struct port 577 * @port: pointer to struct port
577 * 578 *
578 * Called when the ports are being initialized. 579 * Called when the ports are being initialized.
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c
index 6a4f8198b78e..8b7114348def 100644
--- a/drivers/scsi/libsas/sas_expander.c
+++ b/drivers/scsi/libsas/sas_expander.c
@@ -1170,9 +1170,9 @@ static int sas_check_level_subtractive_boundary(struct domain_device *dev)
1170 return 0; 1170 return 0;
1171} 1171}
1172/** 1172/**
1173 * sas_ex_discover_devices -- discover devices attached to this expander 1173 * sas_ex_discover_devices - discover devices attached to this expander
1174 * dev: pointer to the expander domain device 1174 * @dev: pointer to the expander domain device
1175 * single: if you want to do a single phy, else set to -1; 1175 * @single: if you want to do a single phy, else set to -1;
1176 * 1176 *
1177 * Configure this expander for use with its devices and register the 1177 * Configure this expander for use with its devices and register the
1178 * devices of this expander. 1178 * devices of this expander.
@@ -1528,10 +1528,11 @@ static int sas_configure_phy(struct domain_device *dev, int phy_id,
1528} 1528}
1529 1529
1530/** 1530/**
1531 * sas_configure_parent -- configure routing table of parent 1531 * sas_configure_parent - configure routing table of parent
1532 * parent: parent expander 1532 * @parent: parent expander
1533 * child: child expander 1533 * @child: child expander
1534 * sas_addr: SAS port identifier of device directly attached to child 1534 * @sas_addr: SAS port identifier of device directly attached to child
1535 * @include: whether or not to include @child in the expander routing table
1535 */ 1536 */
1536static int sas_configure_parent(struct domain_device *parent, 1537static int sas_configure_parent(struct domain_device *parent,
1537 struct domain_device *child, 1538 struct domain_device *child,
@@ -1570,9 +1571,9 @@ static int sas_configure_parent(struct domain_device *parent,
1570} 1571}
1571 1572
1572/** 1573/**
1573 * sas_configure_routing -- configure routing 1574 * sas_configure_routing - configure routing
1574 * dev: expander device 1575 * @dev: expander device
1575 * sas_addr: port identifier of device directly attached to the expander device 1576 * @sas_addr: port identifier of device directly attached to the expander device
1576 */ 1577 */
1577static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr) 1578static int sas_configure_routing(struct domain_device *dev, u8 *sas_addr)
1578{ 1579{
@@ -1589,8 +1590,8 @@ static int sas_disable_routing(struct domain_device *dev, u8 *sas_addr)
1589} 1590}
1590 1591
1591/** 1592/**
1592 * sas_discover_expander -- expander discovery 1593 * sas_discover_expander - expander discovery
1593 * @ex: pointer to expander domain device 1594 * @dev: pointer to expander domain device
1594 * 1595 *
1595 * See comment in sas_discover_sata(). 1596 * See comment in sas_discover_sata().
1596 */ 1597 */
@@ -2111,8 +2112,8 @@ static int sas_rediscover(struct domain_device *dev, const int phy_id)
2111} 2112}
2112 2113
2113/** 2114/**
2114 * sas_revalidate_domain -- revalidate the domain 2115 * sas_ex_revalidate_domain - revalidate the domain
2115 * @port: port to the domain of interest 2116 * @port_dev: port domain device.
2116 * 2117 *
2117 * NOTE: this process _must_ quit (return) as soon as any connection 2118 * NOTE: this process _must_ quit (return) as soon as any connection
2118 * errors are encountered. Connection recovery is done elsewhere. 2119 * errors are encountered. Connection recovery is done elsewhere.
diff --git a/drivers/scsi/libsas/sas_init.c b/drivers/scsi/libsas/sas_init.c
index c81a63b5dc71..ede0af78144f 100644
--- a/drivers/scsi/libsas/sas_init.c
+++ b/drivers/scsi/libsas/sas_init.c
@@ -234,7 +234,7 @@ int sas_try_ata_reset(struct asd_sas_phy *asd_phy)
234 return -ENODEV; 234 return -ENODEV;
235} 235}
236 236
237/** 237/*
238 * transport_sas_phy_reset - reset a phy and permit libata to manage the link 238 * transport_sas_phy_reset - reset a phy and permit libata to manage the link
239 * 239 *
240 * phy reset request via sysfs in host workqueue context so we know we 240 * phy reset request via sysfs in host workqueue context so we know we
diff --git a/drivers/scsi/libsas/sas_port.c b/drivers/scsi/libsas/sas_port.c
index f07e55d3aa73..fad23dd39114 100644
--- a/drivers/scsi/libsas/sas_port.c
+++ b/drivers/scsi/libsas/sas_port.c
@@ -84,7 +84,7 @@ static void sas_resume_port(struct asd_sas_phy *phy)
84} 84}
85 85
86/** 86/**
87 * sas_form_port -- add this phy to a port 87 * sas_form_port - add this phy to a port
88 * @phy: the phy of interest 88 * @phy: the phy of interest
89 * 89 *
90 * This function adds this phy to an existing port, thus creating a wide 90 * This function adds this phy to an existing port, thus creating a wide
@@ -197,8 +197,9 @@ static void sas_form_port(struct asd_sas_phy *phy)
197} 197}
198 198
199/** 199/**
200 * sas_deform_port -- remove this phy from the port it belongs to 200 * sas_deform_port - remove this phy from the port it belongs to
201 * @phy: the phy of interest 201 * @phy: the phy of interest
202 * @gone: whether or not the PHY is gone
202 * 203 *
203 * This is called when the physical link to the other phy has been 204 * This is called when the physical link to the other phy has been
204 * lost (on this phy), in Event thread context. We cannot delay here. 205 * lost (on this phy), in Event thread context. We cannot delay here.