diff options
author | James Smart <James.Smart@Emulex.Com> | 2009-04-06 18:47:14 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-27 10:41:51 -0400 |
commit | 3621a710a7dbb2d22a8e95d94bcf0c2d13ef57fc (patch) | |
tree | 699b4174b8520a69d74a1ddd507f5e8ee9b28444 /drivers/scsi/lpfc/lpfc_init.c | |
parent | e7ee4cc04b058d1eae9c1ac359031301b1798e3f (diff) |
[SCSI] lpfc 8.3.1 : Fix up kernel-doc function comments
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 101 |
1 files changed, 50 insertions, 51 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 06874e6009ea..e3645e8f3487 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -60,7 +60,7 @@ static struct scsi_transport_template *lpfc_vport_transport_template = NULL; | |||
60 | static DEFINE_IDR(lpfc_hba_index); | 60 | static DEFINE_IDR(lpfc_hba_index); |
61 | 61 | ||
62 | /** | 62 | /** |
63 | * lpfc_config_port_prep: Perform lpfc initialization prior to config port. | 63 | * lpfc_config_port_prep - Perform lpfc initialization prior to config port |
64 | * @phba: pointer to lpfc hba data structure. | 64 | * @phba: pointer to lpfc hba data structure. |
65 | * | 65 | * |
66 | * This routine will do LPFC initialization prior to issuing the CONFIG_PORT | 66 | * This routine will do LPFC initialization prior to issuing the CONFIG_PORT |
@@ -221,7 +221,7 @@ out_free_mbox: | |||
221 | } | 221 | } |
222 | 222 | ||
223 | /** | 223 | /** |
224 | * lpfc_config_async_cmpl: Completion handler for config async event mbox cmd. | 224 | * lpfc_config_async_cmpl - Completion handler for config async event mbox cmd |
225 | * @phba: pointer to lpfc hba data structure. | 225 | * @phba: pointer to lpfc hba data structure. |
226 | * @pmboxq: pointer to the driver internal queue element for mailbox command. | 226 | * @pmboxq: pointer to the driver internal queue element for mailbox command. |
227 | * | 227 | * |
@@ -242,8 +242,7 @@ lpfc_config_async_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq) | |||
242 | } | 242 | } |
243 | 243 | ||
244 | /** | 244 | /** |
245 | * lpfc_dump_wakeup_param_cmpl: Completion handler for dump memory mailbox | 245 | * lpfc_dump_wakeup_param_cmpl - dump memory mailbox command completion handler |
246 | * command used for getting wake up parameters. | ||
247 | * @phba: pointer to lpfc hba data structure. | 246 | * @phba: pointer to lpfc hba data structure. |
248 | * @pmboxq: pointer to the driver internal queue element for mailbox command. | 247 | * @pmboxq: pointer to the driver internal queue element for mailbox command. |
249 | * | 248 | * |
@@ -287,7 +286,7 @@ lpfc_dump_wakeup_param_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq) | |||
287 | } | 286 | } |
288 | 287 | ||
289 | /** | 288 | /** |
290 | * lpfc_config_port_post: Perform lpfc initialization after config port. | 289 | * lpfc_config_port_post - Perform lpfc initialization after config port |
291 | * @phba: pointer to lpfc hba data structure. | 290 | * @phba: pointer to lpfc hba data structure. |
292 | * | 291 | * |
293 | * This routine will do LPFC initialization after the CONFIG_PORT mailbox | 292 | * This routine will do LPFC initialization after the CONFIG_PORT mailbox |
@@ -551,7 +550,7 @@ lpfc_config_port_post(struct lpfc_hba *phba) | |||
551 | } | 550 | } |
552 | 551 | ||
553 | /** | 552 | /** |
554 | * lpfc_hba_down_prep: Perform lpfc uninitialization prior to HBA reset. | 553 | * lpfc_hba_down_prep - Perform lpfc uninitialization prior to HBA reset |
555 | * @phba: pointer to lpfc HBA data structure. | 554 | * @phba: pointer to lpfc HBA data structure. |
556 | * | 555 | * |
557 | * This routine will do LPFC uninitialization before the HBA is reset when | 556 | * This routine will do LPFC uninitialization before the HBA is reset when |
@@ -583,7 +582,7 @@ lpfc_hba_down_prep(struct lpfc_hba *phba) | |||
583 | } | 582 | } |
584 | 583 | ||
585 | /** | 584 | /** |
586 | * lpfc_hba_down_post: Perform lpfc uninitialization after HBA reset. | 585 | * lpfc_hba_down_post - Perform lpfc uninitialization after HBA reset |
587 | * @phba: pointer to lpfc HBA data structure. | 586 | * @phba: pointer to lpfc HBA data structure. |
588 | * | 587 | * |
589 | * This routine will do uninitialization after the HBA is reset when bring | 588 | * This routine will do uninitialization after the HBA is reset when bring |
@@ -652,7 +651,7 @@ lpfc_hba_down_post(struct lpfc_hba *phba) | |||
652 | } | 651 | } |
653 | 652 | ||
654 | /** | 653 | /** |
655 | * lpfc_hb_timeout: The HBA-timer timeout handler. | 654 | * lpfc_hb_timeout - The HBA-timer timeout handler |
656 | * @ptr: unsigned long holds the pointer to lpfc hba data structure. | 655 | * @ptr: unsigned long holds the pointer to lpfc hba data structure. |
657 | * | 656 | * |
658 | * This is the HBA-timer timeout handler registered to the lpfc driver. When | 657 | * This is the HBA-timer timeout handler registered to the lpfc driver. When |
@@ -686,7 +685,7 @@ lpfc_hb_timeout(unsigned long ptr) | |||
686 | } | 685 | } |
687 | 686 | ||
688 | /** | 687 | /** |
689 | * lpfc_hb_mbox_cmpl: The lpfc heart-beat mailbox command callback function. | 688 | * lpfc_hb_mbox_cmpl - The lpfc heart-beat mailbox command callback function |
690 | * @phba: pointer to lpfc hba data structure. | 689 | * @phba: pointer to lpfc hba data structure. |
691 | * @pmboxq: pointer to the driver internal queue element for mailbox command. | 690 | * @pmboxq: pointer to the driver internal queue element for mailbox command. |
692 | * | 691 | * |
@@ -721,7 +720,7 @@ lpfc_hb_mbox_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq) | |||
721 | } | 720 | } |
722 | 721 | ||
723 | /** | 722 | /** |
724 | * lpfc_hb_timeout_handler: The HBA-timer timeout handler. | 723 | * lpfc_hb_timeout_handler - The HBA-timer timeout handler |
725 | * @phba: pointer to lpfc hba data structure. | 724 | * @phba: pointer to lpfc hba data structure. |
726 | * | 725 | * |
727 | * This is the actual HBA-timer timeout handler to be invoked by the worker | 726 | * This is the actual HBA-timer timeout handler to be invoked by the worker |
@@ -830,7 +829,7 @@ lpfc_hb_timeout_handler(struct lpfc_hba *phba) | |||
830 | } | 829 | } |
831 | 830 | ||
832 | /** | 831 | /** |
833 | * lpfc_offline_eratt: Bring lpfc offline on hardware error attention. | 832 | * lpfc_offline_eratt - Bring lpfc offline on hardware error attention |
834 | * @phba: pointer to lpfc hba data structure. | 833 | * @phba: pointer to lpfc hba data structure. |
835 | * | 834 | * |
836 | * This routine is called to bring the HBA offline when HBA hardware error | 835 | * This routine is called to bring the HBA offline when HBA hardware error |
@@ -857,7 +856,7 @@ lpfc_offline_eratt(struct lpfc_hba *phba) | |||
857 | } | 856 | } |
858 | 857 | ||
859 | /** | 858 | /** |
860 | * lpfc_handle_eratt: The HBA hardware error handler. | 859 | * lpfc_handle_eratt - The HBA hardware error handler |
861 | * @phba: pointer to lpfc hba data structure. | 860 | * @phba: pointer to lpfc hba data structure. |
862 | * | 861 | * |
863 | * This routine is invoked to handle the following HBA hardware error | 862 | * This routine is invoked to handle the following HBA hardware error |
@@ -976,7 +975,7 @@ lpfc_handle_eratt(struct lpfc_hba *phba) | |||
976 | } | 975 | } |
977 | 976 | ||
978 | /** | 977 | /** |
979 | * lpfc_handle_latt: The HBA link event handler. | 978 | * lpfc_handle_latt - The HBA link event handler |
980 | * @phba: pointer to lpfc hba data structure. | 979 | * @phba: pointer to lpfc hba data structure. |
981 | * | 980 | * |
982 | * This routine is invoked from the worker thread to handle a HBA host | 981 | * This routine is invoked from the worker thread to handle a HBA host |
@@ -1063,7 +1062,7 @@ lpfc_handle_latt_err_exit: | |||
1063 | } | 1062 | } |
1064 | 1063 | ||
1065 | /** | 1064 | /** |
1066 | * lpfc_parse_vpd: Parse VPD (Vital Product Data). | 1065 | * lpfc_parse_vpd - Parse VPD (Vital Product Data) |
1067 | * @phba: pointer to lpfc hba data structure. | 1066 | * @phba: pointer to lpfc hba data structure. |
1068 | * @vpd: pointer to the vital product data. | 1067 | * @vpd: pointer to the vital product data. |
1069 | * @len: length of the vital product data in bytes. | 1068 | * @len: length of the vital product data in bytes. |
@@ -1213,7 +1212,7 @@ lpfc_parse_vpd(struct lpfc_hba *phba, uint8_t *vpd, int len) | |||
1213 | } | 1212 | } |
1214 | 1213 | ||
1215 | /** | 1214 | /** |
1216 | * lpfc_get_hba_model_desc: Retrieve HBA device model name and description. | 1215 | * lpfc_get_hba_model_desc - Retrieve HBA device model name and description |
1217 | * @phba: pointer to lpfc hba data structure. | 1216 | * @phba: pointer to lpfc hba data structure. |
1218 | * @mdp: pointer to the data structure to hold the derived model name. | 1217 | * @mdp: pointer to the data structure to hold the derived model name. |
1219 | * @descp: pointer to the data structure to hold the derived description. | 1218 | * @descp: pointer to the data structure to hold the derived description. |
@@ -1392,7 +1391,7 @@ lpfc_get_hba_model_desc(struct lpfc_hba *phba, uint8_t *mdp, uint8_t *descp) | |||
1392 | } | 1391 | } |
1393 | 1392 | ||
1394 | /** | 1393 | /** |
1395 | * lpfc_post_buffer: Post IOCB(s) with DMA buffer descriptor(s) to a IOCB ring. | 1394 | * lpfc_post_buffer - Post IOCB(s) with DMA buffer descriptor(s) to a IOCB ring |
1396 | * @phba: pointer to lpfc hba data structure. | 1395 | * @phba: pointer to lpfc hba data structure. |
1397 | * @pring: pointer to a IOCB ring. | 1396 | * @pring: pointer to a IOCB ring. |
1398 | * @cnt: the number of IOCBs to be posted to the IOCB ring. | 1397 | * @cnt: the number of IOCBs to be posted to the IOCB ring. |
@@ -1493,7 +1492,7 @@ lpfc_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt) | |||
1493 | } | 1492 | } |
1494 | 1493 | ||
1495 | /** | 1494 | /** |
1496 | * lpfc_post_rcv_buf: Post the initial receive IOCB buffers to ELS ring. | 1495 | * lpfc_post_rcv_buf - Post the initial receive IOCB buffers to ELS ring |
1497 | * @phba: pointer to lpfc hba data structure. | 1496 | * @phba: pointer to lpfc hba data structure. |
1498 | * | 1497 | * |
1499 | * This routine posts initial receive IOCB buffers to the ELS ring. The | 1498 | * This routine posts initial receive IOCB buffers to the ELS ring. The |
@@ -1518,7 +1517,7 @@ lpfc_post_rcv_buf(struct lpfc_hba *phba) | |||
1518 | #define S(N,V) (((V)<<(N))|((V)>>(32-(N)))) | 1517 | #define S(N,V) (((V)<<(N))|((V)>>(32-(N)))) |
1519 | 1518 | ||
1520 | /** | 1519 | /** |
1521 | * lpfc_sha_init: Set up initial array of hash table entries. | 1520 | * lpfc_sha_init - Set up initial array of hash table entries |
1522 | * @HashResultPointer: pointer to an array as hash table. | 1521 | * @HashResultPointer: pointer to an array as hash table. |
1523 | * | 1522 | * |
1524 | * This routine sets up the initial values to the array of hash table entries | 1523 | * This routine sets up the initial values to the array of hash table entries |
@@ -1535,7 +1534,7 @@ lpfc_sha_init(uint32_t * HashResultPointer) | |||
1535 | } | 1534 | } |
1536 | 1535 | ||
1537 | /** | 1536 | /** |
1538 | * lpfc_sha_iterate: Iterate initial hash table with the working hash table. | 1537 | * lpfc_sha_iterate - Iterate initial hash table with the working hash table |
1539 | * @HashResultPointer: pointer to an initial/result hash table. | 1538 | * @HashResultPointer: pointer to an initial/result hash table. |
1540 | * @HashWorkingPointer: pointer to an working hash table. | 1539 | * @HashWorkingPointer: pointer to an working hash table. |
1541 | * | 1540 | * |
@@ -1592,7 +1591,7 @@ lpfc_sha_iterate(uint32_t * HashResultPointer, uint32_t * HashWorkingPointer) | |||
1592 | } | 1591 | } |
1593 | 1592 | ||
1594 | /** | 1593 | /** |
1595 | * lpfc_challenge_key: Create challenge key based on WWPN of the HBA. | 1594 | * lpfc_challenge_key - Create challenge key based on WWPN of the HBA |
1596 | * @RandomChallenge: pointer to the entry of host challenge random number array. | 1595 | * @RandomChallenge: pointer to the entry of host challenge random number array. |
1597 | * @HashWorking: pointer to the entry of the working hash array. | 1596 | * @HashWorking: pointer to the entry of the working hash array. |
1598 | * | 1597 | * |
@@ -1608,7 +1607,7 @@ lpfc_challenge_key(uint32_t * RandomChallenge, uint32_t * HashWorking) | |||
1608 | } | 1607 | } |
1609 | 1608 | ||
1610 | /** | 1609 | /** |
1611 | * lpfc_hba_init: Perform special handling for LC HBA initialization. | 1610 | * lpfc_hba_init - Perform special handling for LC HBA initialization |
1612 | * @phba: pointer to lpfc hba data structure. | 1611 | * @phba: pointer to lpfc hba data structure. |
1613 | * @hbainit: pointer to an array of unsigned 32-bit integers. | 1612 | * @hbainit: pointer to an array of unsigned 32-bit integers. |
1614 | * | 1613 | * |
@@ -1637,7 +1636,7 @@ lpfc_hba_init(struct lpfc_hba *phba, uint32_t *hbainit) | |||
1637 | } | 1636 | } |
1638 | 1637 | ||
1639 | /** | 1638 | /** |
1640 | * lpfc_cleanup: Performs vport cleanups before deleting a vport. | 1639 | * lpfc_cleanup - Performs vport cleanups before deleting a vport |
1641 | * @vport: pointer to a virtual N_Port data structure. | 1640 | * @vport: pointer to a virtual N_Port data structure. |
1642 | * | 1641 | * |
1643 | * This routine performs the necessary cleanups before deleting the @vport. | 1642 | * This routine performs the necessary cleanups before deleting the @vport. |
@@ -1724,7 +1723,7 @@ lpfc_cleanup(struct lpfc_vport *vport) | |||
1724 | } | 1723 | } |
1725 | 1724 | ||
1726 | /** | 1725 | /** |
1727 | * lpfc_stop_vport_timers: Stop all the timers associated with a vport. | 1726 | * lpfc_stop_vport_timers - Stop all the timers associated with a vport |
1728 | * @vport: pointer to a virtual N_Port data structure. | 1727 | * @vport: pointer to a virtual N_Port data structure. |
1729 | * | 1728 | * |
1730 | * This routine stops all the timers associated with a @vport. This function | 1729 | * This routine stops all the timers associated with a @vport. This function |
@@ -1741,7 +1740,7 @@ lpfc_stop_vport_timers(struct lpfc_vport *vport) | |||
1741 | } | 1740 | } |
1742 | 1741 | ||
1743 | /** | 1742 | /** |
1744 | * lpfc_stop_phba_timers: Stop all the timers associated with an HBA. | 1743 | * lpfc_stop_phba_timers - Stop all the timers associated with an HBA |
1745 | * @phba: pointer to lpfc hba data structure. | 1744 | * @phba: pointer to lpfc hba data structure. |
1746 | * | 1745 | * |
1747 | * This routine stops all the timers associated with a HBA. This function is | 1746 | * This routine stops all the timers associated with a HBA. This function is |
@@ -1761,7 +1760,7 @@ lpfc_stop_phba_timers(struct lpfc_hba *phba) | |||
1761 | } | 1760 | } |
1762 | 1761 | ||
1763 | /** | 1762 | /** |
1764 | * lpfc_block_mgmt_io: Mark a HBA's management interface as blocked. | 1763 | * lpfc_block_mgmt_io - Mark a HBA's management interface as blocked |
1765 | * @phba: pointer to lpfc hba data structure. | 1764 | * @phba: pointer to lpfc hba data structure. |
1766 | * | 1765 | * |
1767 | * This routine marks a HBA's management interface as blocked. Once the HBA's | 1766 | * This routine marks a HBA's management interface as blocked. Once the HBA's |
@@ -1781,7 +1780,7 @@ lpfc_block_mgmt_io(struct lpfc_hba * phba) | |||
1781 | } | 1780 | } |
1782 | 1781 | ||
1783 | /** | 1782 | /** |
1784 | * lpfc_online: Initialize and bring a HBA online. | 1783 | * lpfc_online - Initialize and bring a HBA online |
1785 | * @phba: pointer to lpfc hba data structure. | 1784 | * @phba: pointer to lpfc hba data structure. |
1786 | * | 1785 | * |
1787 | * This routine initializes the HBA and brings a HBA online. During this | 1786 | * This routine initializes the HBA and brings a HBA online. During this |
@@ -1839,7 +1838,7 @@ lpfc_online(struct lpfc_hba *phba) | |||
1839 | } | 1838 | } |
1840 | 1839 | ||
1841 | /** | 1840 | /** |
1842 | * lpfc_unblock_mgmt_io: Mark a HBA's management interface to be not blocked. | 1841 | * lpfc_unblock_mgmt_io - Mark a HBA's management interface to be not blocked |
1843 | * @phba: pointer to lpfc hba data structure. | 1842 | * @phba: pointer to lpfc hba data structure. |
1844 | * | 1843 | * |
1845 | * This routine marks a HBA's management interface as not blocked. Once the | 1844 | * This routine marks a HBA's management interface as not blocked. Once the |
@@ -1860,7 +1859,7 @@ lpfc_unblock_mgmt_io(struct lpfc_hba * phba) | |||
1860 | } | 1859 | } |
1861 | 1860 | ||
1862 | /** | 1861 | /** |
1863 | * lpfc_offline_prep: Prepare a HBA to be brought offline. | 1862 | * lpfc_offline_prep - Prepare a HBA to be brought offline |
1864 | * @phba: pointer to lpfc hba data structure. | 1863 | * @phba: pointer to lpfc hba data structure. |
1865 | * | 1864 | * |
1866 | * This routine is invoked to prepare a HBA to be brought offline. It performs | 1865 | * This routine is invoked to prepare a HBA to be brought offline. It performs |
@@ -1917,7 +1916,7 @@ lpfc_offline_prep(struct lpfc_hba * phba) | |||
1917 | } | 1916 | } |
1918 | 1917 | ||
1919 | /** | 1918 | /** |
1920 | * lpfc_offline: Bring a HBA offline. | 1919 | * lpfc_offline - Bring a HBA offline |
1921 | * @phba: pointer to lpfc hba data structure. | 1920 | * @phba: pointer to lpfc hba data structure. |
1922 | * | 1921 | * |
1923 | * This routine actually brings a HBA offline. It stops all the timers | 1922 | * This routine actually brings a HBA offline. It stops all the timers |
@@ -1962,7 +1961,7 @@ lpfc_offline(struct lpfc_hba *phba) | |||
1962 | } | 1961 | } |
1963 | 1962 | ||
1964 | /** | 1963 | /** |
1965 | * lpfc_scsi_free: Free all the SCSI buffers and IOCBs from driver lists. | 1964 | * lpfc_scsi_free - Free all the SCSI buffers and IOCBs from driver lists |
1966 | * @phba: pointer to lpfc hba data structure. | 1965 | * @phba: pointer to lpfc hba data structure. |
1967 | * | 1966 | * |
1968 | * This routine is to free all the SCSI buffers and IOCBs from the driver | 1967 | * This routine is to free all the SCSI buffers and IOCBs from the driver |
@@ -2001,7 +2000,7 @@ lpfc_scsi_free(struct lpfc_hba *phba) | |||
2001 | } | 2000 | } |
2002 | 2001 | ||
2003 | /** | 2002 | /** |
2004 | * lpfc_create_port: Create an FC port. | 2003 | * lpfc_create_port - Create an FC port |
2005 | * @phba: pointer to lpfc hba data structure. | 2004 | * @phba: pointer to lpfc hba data structure. |
2006 | * @instance: a unique integer ID to this FC port. | 2005 | * @instance: a unique integer ID to this FC port. |
2007 | * @dev: pointer to the device data structure. | 2006 | * @dev: pointer to the device data structure. |
@@ -2091,7 +2090,7 @@ out: | |||
2091 | } | 2090 | } |
2092 | 2091 | ||
2093 | /** | 2092 | /** |
2094 | * destroy_port: Destroy an FC port. | 2093 | * destroy_port - destroy an FC port |
2095 | * @vport: pointer to an lpfc virtual N_Port data structure. | 2094 | * @vport: pointer to an lpfc virtual N_Port data structure. |
2096 | * | 2095 | * |
2097 | * This routine destroys a FC port from the upper layer protocol. All the | 2096 | * This routine destroys a FC port from the upper layer protocol. All the |
@@ -2116,7 +2115,7 @@ destroy_port(struct lpfc_vport *vport) | |||
2116 | } | 2115 | } |
2117 | 2116 | ||
2118 | /** | 2117 | /** |
2119 | * lpfc_get_instance: Get a unique integer ID. | 2118 | * lpfc_get_instance - Get a unique integer ID |
2120 | * | 2119 | * |
2121 | * This routine allocates a unique integer ID from lpfc_hba_index pool. It | 2120 | * This routine allocates a unique integer ID from lpfc_hba_index pool. It |
2122 | * uses the kernel idr facility to perform the task. | 2121 | * uses the kernel idr facility to perform the task. |
@@ -2139,7 +2138,7 @@ lpfc_get_instance(void) | |||
2139 | } | 2138 | } |
2140 | 2139 | ||
2141 | /** | 2140 | /** |
2142 | * lpfc_scan_finished: method for SCSI layer to detect whether scan is done. | 2141 | * lpfc_scan_finished - method for SCSI layer to detect whether scan is done |
2143 | * @shost: pointer to SCSI host data structure. | 2142 | * @shost: pointer to SCSI host data structure. |
2144 | * @time: elapsed time of the scan in jiffies. | 2143 | * @time: elapsed time of the scan in jiffies. |
2145 | * | 2144 | * |
@@ -2197,7 +2196,7 @@ finished: | |||
2197 | } | 2196 | } |
2198 | 2197 | ||
2199 | /** | 2198 | /** |
2200 | * lpfc_host_attrib_init: Initialize SCSI host attributes on a FC port. | 2199 | * lpfc_host_attrib_init - Initialize SCSI host attributes on a FC port |
2201 | * @shost: pointer to SCSI host data structure. | 2200 | * @shost: pointer to SCSI host data structure. |
2202 | * | 2201 | * |
2203 | * This routine initializes a given SCSI host attributes on a FC port. The | 2202 | * This routine initializes a given SCSI host attributes on a FC port. The |
@@ -2252,7 +2251,7 @@ void lpfc_host_attrib_init(struct Scsi_Host *shost) | |||
2252 | } | 2251 | } |
2253 | 2252 | ||
2254 | /** | 2253 | /** |
2255 | * lpfc_enable_msix: Enable MSI-X interrupt mode. | 2254 | * lpfc_enable_msix - Enable MSI-X interrupt mode |
2256 | * @phba: pointer to lpfc hba data structure. | 2255 | * @phba: pointer to lpfc hba data structure. |
2257 | * | 2256 | * |
2258 | * This routine is invoked to enable the MSI-X interrupt vectors. The kernel | 2257 | * This routine is invoked to enable the MSI-X interrupt vectors. The kernel |
@@ -2366,7 +2365,7 @@ msi_fail_out: | |||
2366 | } | 2365 | } |
2367 | 2366 | ||
2368 | /** | 2367 | /** |
2369 | * lpfc_disable_msix: Disable MSI-X interrupt mode. | 2368 | * lpfc_disable_msix - Disable MSI-X interrupt mode |
2370 | * @phba: pointer to lpfc hba data structure. | 2369 | * @phba: pointer to lpfc hba data structure. |
2371 | * | 2370 | * |
2372 | * This routine is invoked to release the MSI-X vectors and then disable the | 2371 | * This routine is invoked to release the MSI-X vectors and then disable the |
@@ -2385,7 +2384,7 @@ lpfc_disable_msix(struct lpfc_hba *phba) | |||
2385 | } | 2384 | } |
2386 | 2385 | ||
2387 | /** | 2386 | /** |
2388 | * lpfc_enable_msi: Enable MSI interrupt mode. | 2387 | * lpfc_enable_msi - Enable MSI interrupt mode |
2389 | * @phba: pointer to lpfc hba data structure. | 2388 | * @phba: pointer to lpfc hba data structure. |
2390 | * | 2389 | * |
2391 | * This routine is invoked to enable the MSI interrupt mode. The kernel | 2390 | * This routine is invoked to enable the MSI interrupt mode. The kernel |
@@ -2423,7 +2422,7 @@ lpfc_enable_msi(struct lpfc_hba *phba) | |||
2423 | } | 2422 | } |
2424 | 2423 | ||
2425 | /** | 2424 | /** |
2426 | * lpfc_disable_msi: Disable MSI interrupt mode. | 2425 | * lpfc_disable_msi - Disable MSI interrupt mode |
2427 | * @phba: pointer to lpfc hba data structure. | 2426 | * @phba: pointer to lpfc hba data structure. |
2428 | * | 2427 | * |
2429 | * This routine is invoked to disable the MSI interrupt mode. The driver | 2428 | * This routine is invoked to disable the MSI interrupt mode. The driver |
@@ -2441,7 +2440,7 @@ lpfc_disable_msi(struct lpfc_hba *phba) | |||
2441 | } | 2440 | } |
2442 | 2441 | ||
2443 | /** | 2442 | /** |
2444 | * lpfc_log_intr_mode: Log the active interrupt mode | 2443 | * lpfc_log_intr_mode - Log the active interrupt mode |
2445 | * @phba: pointer to lpfc hba data structure. | 2444 | * @phba: pointer to lpfc hba data structure. |
2446 | * @intr_mode: active interrupt mode adopted. | 2445 | * @intr_mode: active interrupt mode adopted. |
2447 | * | 2446 | * |
@@ -2490,7 +2489,7 @@ lpfc_stop_port(struct lpfc_hba *phba) | |||
2490 | } | 2489 | } |
2491 | 2490 | ||
2492 | /** | 2491 | /** |
2493 | * lpfc_enable_intr: Enable device interrupt. | 2492 | * lpfc_enable_intr - Enable device interrupt |
2494 | * @phba: pointer to lpfc hba data structure. | 2493 | * @phba: pointer to lpfc hba data structure. |
2495 | * | 2494 | * |
2496 | * This routine is invoked to enable device interrupt and associate driver's | 2495 | * This routine is invoked to enable device interrupt and associate driver's |
@@ -2547,7 +2546,7 @@ lpfc_enable_intr(struct lpfc_hba *phba, uint32_t cfg_mode) | |||
2547 | } | 2546 | } |
2548 | 2547 | ||
2549 | /** | 2548 | /** |
2550 | * lpfc_disable_intr: Disable device interrupt. | 2549 | * lpfc_disable_intr - Disable device interrupt |
2551 | * @phba: pointer to lpfc hba data structure. | 2550 | * @phba: pointer to lpfc hba data structure. |
2552 | * | 2551 | * |
2553 | * This routine is invoked to disable device interrupt and disassociate the | 2552 | * This routine is invoked to disable device interrupt and disassociate the |
@@ -2574,7 +2573,7 @@ lpfc_disable_intr(struct lpfc_hba *phba) | |||
2574 | } | 2573 | } |
2575 | 2574 | ||
2576 | /** | 2575 | /** |
2577 | * lpfc_pci_probe_one: lpfc PCI probe func to register device to PCI subsystem. | 2576 | * lpfc_pci_probe_one - lpfc PCI probe func to register device to PCI subsystem |
2578 | * @pdev: pointer to PCI device | 2577 | * @pdev: pointer to PCI device |
2579 | * @pid: pointer to PCI device identifier | 2578 | * @pid: pointer to PCI device identifier |
2580 | * | 2579 | * |
@@ -3010,7 +3009,7 @@ out: | |||
3010 | } | 3009 | } |
3011 | 3010 | ||
3012 | /** | 3011 | /** |
3013 | * lpfc_pci_remove_one: lpfc PCI func to unregister device from PCI subsystem. | 3012 | * lpfc_pci_remove_one - lpfc PCI func to unregister device from PCI subsystem |
3014 | * @pdev: pointer to PCI device | 3013 | * @pdev: pointer to PCI device |
3015 | * | 3014 | * |
3016 | * This routine is to be registered to the kernel's PCI subsystem. When an | 3015 | * This routine is to be registered to the kernel's PCI subsystem. When an |
@@ -3095,7 +3094,7 @@ lpfc_pci_remove_one(struct pci_dev *pdev) | |||
3095 | } | 3094 | } |
3096 | 3095 | ||
3097 | /** | 3096 | /** |
3098 | * lpfc_pci_suspend_one: lpfc PCI func to suspend device for power management. | 3097 | * lpfc_pci_suspend_one - lpfc PCI func to suspend device for power management |
3099 | * @pdev: pointer to PCI device | 3098 | * @pdev: pointer to PCI device |
3100 | * @msg: power management message | 3099 | * @msg: power management message |
3101 | * | 3100 | * |
@@ -3139,7 +3138,7 @@ lpfc_pci_suspend_one(struct pci_dev *pdev, pm_message_t msg) | |||
3139 | } | 3138 | } |
3140 | 3139 | ||
3141 | /** | 3140 | /** |
3142 | * lpfc_pci_resume_one: lpfc PCI func to resume device for power management. | 3141 | * lpfc_pci_resume_one - lpfc PCI func to resume device for power management |
3143 | * @pdev: pointer to PCI device | 3142 | * @pdev: pointer to PCI device |
3144 | * | 3143 | * |
3145 | * This routine is to be registered to the kernel's PCI subsystem to support | 3144 | * This routine is to be registered to the kernel's PCI subsystem to support |
@@ -3204,7 +3203,7 @@ lpfc_pci_resume_one(struct pci_dev *pdev) | |||
3204 | } | 3203 | } |
3205 | 3204 | ||
3206 | /** | 3205 | /** |
3207 | * lpfc_io_error_detected: Driver method for handling PCI I/O error detected. | 3206 | * lpfc_io_error_detected - Driver method for handling PCI I/O error detected |
3208 | * @pdev: pointer to PCI device. | 3207 | * @pdev: pointer to PCI device. |
3209 | * @state: the current PCI connection state. | 3208 | * @state: the current PCI connection state. |
3210 | * | 3209 | * |
@@ -3254,7 +3253,7 @@ static pci_ers_result_t lpfc_io_error_detected(struct pci_dev *pdev, | |||
3254 | } | 3253 | } |
3255 | 3254 | ||
3256 | /** | 3255 | /** |
3257 | * lpfc_io_slot_reset: Restart a PCI device from scratch. | 3256 | * lpfc_io_slot_reset - Restart a PCI device from scratch |
3258 | * @pdev: pointer to PCI device. | 3257 | * @pdev: pointer to PCI device. |
3259 | * | 3258 | * |
3260 | * This routine is registered to the PCI subsystem for error handling. This is | 3259 | * This routine is registered to the PCI subsystem for error handling. This is |
@@ -3313,7 +3312,7 @@ static pci_ers_result_t lpfc_io_slot_reset(struct pci_dev *pdev) | |||
3313 | } | 3312 | } |
3314 | 3313 | ||
3315 | /** | 3314 | /** |
3316 | * lpfc_io_resume: Resume PCI I/O operation. | 3315 | * lpfc_io_resume - Resume PCI I/O operation |
3317 | * @pdev: pointer to PCI device | 3316 | * @pdev: pointer to PCI device |
3318 | * | 3317 | * |
3319 | * This routine is registered to the PCI subsystem for error handling. It is | 3318 | * This routine is registered to the PCI subsystem for error handling. It is |
@@ -3426,7 +3425,7 @@ static struct pci_driver lpfc_driver = { | |||
3426 | }; | 3425 | }; |
3427 | 3426 | ||
3428 | /** | 3427 | /** |
3429 | * lpfc_init: lpfc module initialization routine. | 3428 | * lpfc_init - lpfc module initialization routine |
3430 | * | 3429 | * |
3431 | * This routine is to be invoked when the lpfc module is loaded into the | 3430 | * This routine is to be invoked when the lpfc module is loaded into the |
3432 | * kernel. The special kernel macro module_init() is used to indicate the | 3431 | * kernel. The special kernel macro module_init() is used to indicate the |
@@ -3472,7 +3471,7 @@ lpfc_init(void) | |||
3472 | } | 3471 | } |
3473 | 3472 | ||
3474 | /** | 3473 | /** |
3475 | * lpfc_exit: lpfc module removal routine. | 3474 | * lpfc_exit - lpfc module removal routine |
3476 | * | 3475 | * |
3477 | * This routine is invoked when the lpfc module is removed from the kernel. | 3476 | * This routine is invoked when the lpfc module is removed from the kernel. |
3478 | * The special kernel macro module_exit() is used to indicate the role of | 3477 | * The special kernel macro module_exit() is used to indicate the role of |