Commit 2b46e5c1 authored by Damien Le Moal's avatar Damien Le Moal Committed by Martin K. Petersen

scsi: megaraid: Fix kdoc comments format

Fix kernel documentation comments to avoid various warnings when compiling
with W=1.

No functional changes.

Link: https://lore.kernel.org/r/20200706123345.451783-1-damien.lemoal@wdc.comSigned-off-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent c3bfffa5
...@@ -124,7 +124,7 @@ static int trace_level; ...@@ -124,7 +124,7 @@ static int trace_level;
/** /**
* mega_setup_mailbox() * mega_setup_mailbox()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* *
* Allocates a 8 byte aligned memory for the handshake mailbox. * Allocates a 8 byte aligned memory for the handshake mailbox.
*/ */
...@@ -347,7 +347,7 @@ mega_query_adapter(adapter_t *adapter) ...@@ -347,7 +347,7 @@ mega_query_adapter(adapter_t *adapter)
/** /**
* mega_runpendq() * mega_runpendq()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* *
* Runs through the list of pending requests. * Runs through the list of pending requests.
*/ */
...@@ -413,8 +413,8 @@ static DEF_SCSI_QCMD(megaraid_queue) ...@@ -413,8 +413,8 @@ static DEF_SCSI_QCMD(megaraid_queue)
/** /**
* mega_allocate_scb() * mega_allocate_scb()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @cmd - scsi command from the mid-layer * @cmd: scsi command from the mid-layer
* *
* Allocate a SCB structure. This is the central structure for controller * Allocate a SCB structure. This is the central structure for controller
* commands. * commands.
...@@ -444,9 +444,9 @@ mega_allocate_scb(adapter_t *adapter, struct scsi_cmnd *cmd) ...@@ -444,9 +444,9 @@ mega_allocate_scb(adapter_t *adapter, struct scsi_cmnd *cmd)
/** /**
* mega_get_ldrv_num() * mega_get_ldrv_num()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @cmd - scsi mid layer command * @cmd: scsi mid layer command
* @channel - channel on the controller * @channel: channel on the controller
* *
* Calculate the logical drive number based on the information in scsi command * Calculate the logical drive number based on the information in scsi command
* and the channel number. * and the channel number.
...@@ -503,9 +503,9 @@ mega_get_ldrv_num(adapter_t *adapter, struct scsi_cmnd *cmd, int channel) ...@@ -503,9 +503,9 @@ mega_get_ldrv_num(adapter_t *adapter, struct scsi_cmnd *cmd, int channel)
/** /**
* mega_build_cmd() * mega_build_cmd()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @cmd - Prepare using this scsi command * @cmd: Prepare using this scsi command
* @busy - busy flag if no resources * @busy: busy flag if no resources
* *
* Prepares a command and scatter gather list for the controller. This routine * Prepares a command and scatter gather list for the controller. This routine
* also finds out if the commands is intended for a logical drive or a * also finds out if the commands is intended for a logical drive or a
...@@ -937,11 +937,11 @@ mega_build_cmd(adapter_t *adapter, struct scsi_cmnd *cmd, int *busy) ...@@ -937,11 +937,11 @@ mega_build_cmd(adapter_t *adapter, struct scsi_cmnd *cmd, int *busy)
/** /**
* mega_prepare_passthru() * mega_prepare_passthru()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @scb - our scsi control block * @scb: our scsi control block
* @cmd - scsi command from the mid-layer * @cmd: scsi command from the mid-layer
* @channel - actual channel on the controller * @channel: actual channel on the controller
* @target - actual id on the controller. * @target: actual id on the controller.
* *
* prepare a command for the scsi physical devices. * prepare a command for the scsi physical devices.
*/ */
...@@ -1000,11 +1000,11 @@ mega_prepare_passthru(adapter_t *adapter, scb_t *scb, struct scsi_cmnd *cmd, ...@@ -1000,11 +1000,11 @@ mega_prepare_passthru(adapter_t *adapter, scb_t *scb, struct scsi_cmnd *cmd,
/** /**
* mega_prepare_extpassthru() * mega_prepare_extpassthru()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @scb - our scsi control block * @scb: our scsi control block
* @cmd - scsi command from the mid-layer * @cmd: scsi command from the mid-layer
* @channel - actual channel on the controller * @channel: actual channel on the controller
* @target - actual id on the controller. * @target: actual id on the controller.
* *
* prepare a command for the scsi physical devices. This rountine prepares * prepare a command for the scsi physical devices. This rountine prepares
* commands for devices which can take extended CDBs (>10 bytes) * commands for devices which can take extended CDBs (>10 bytes)
...@@ -1085,8 +1085,8 @@ __mega_runpendq(adapter_t *adapter) ...@@ -1085,8 +1085,8 @@ __mega_runpendq(adapter_t *adapter)
/** /**
* issue_scb() * issue_scb()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @scb - scsi control block * @scb: scsi control block
* *
* Post a command to the card if the mailbox is available, otherwise return * Post a command to the card if the mailbox is available, otherwise return
* busy. We also take the scb from the pending list if the mailbox is * busy. We also take the scb from the pending list if the mailbox is
...@@ -1166,8 +1166,8 @@ mega_busywait_mbox (adapter_t *adapter) ...@@ -1166,8 +1166,8 @@ mega_busywait_mbox (adapter_t *adapter)
/** /**
* issue_scb_block() * issue_scb_block()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @raw_mbox - the mailbox * @raw_mbox: the mailbox
* *
* Issue a scb in synchronous and non-interrupt mode * Issue a scb in synchronous and non-interrupt mode
*/ */
...@@ -1247,8 +1247,8 @@ issue_scb_block(adapter_t *adapter, u_char *raw_mbox) ...@@ -1247,8 +1247,8 @@ issue_scb_block(adapter_t *adapter, u_char *raw_mbox)
/** /**
* megaraid_isr_iomapped() * megaraid_isr_iomapped()
* @irq - irq * @irq: irq
* @devp - pointer to our soft state * @devp: pointer to our soft state
* *
* Interrupt service routine for io-mapped controllers. * Interrupt service routine for io-mapped controllers.
* Find out if our device is interrupting. If yes, acknowledge the interrupt * Find out if our device is interrupting. If yes, acknowledge the interrupt
...@@ -1323,8 +1323,8 @@ megaraid_isr_iomapped(int irq, void *devp) ...@@ -1323,8 +1323,8 @@ megaraid_isr_iomapped(int irq, void *devp)
/** /**
* megaraid_isr_memmapped() * megaraid_isr_memmapped()
* @irq - irq * @irq: irq
* @devp - pointer to our soft state * @devp: pointer to our soft state
* *
* Interrupt service routine for memory-mapped controllers. * Interrupt service routine for memory-mapped controllers.
* Find out if our device is interrupting. If yes, acknowledge the interrupt * Find out if our device is interrupting. If yes, acknowledge the interrupt
...@@ -1401,10 +1401,10 @@ megaraid_isr_memmapped(int irq, void *devp) ...@@ -1401,10 +1401,10 @@ megaraid_isr_memmapped(int irq, void *devp)
} }
/** /**
* mega_cmd_done() * mega_cmd_done()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @completed - array of ids of completed commands * @completed: array of ids of completed commands
* @nstatus - number of completed commands * @nstatus: number of completed commands
* @status - status of the last command completed * @status: status of the last command completed
* *
* Complete the commands and call the scsi mid-layer callback hooks. * Complete the commands and call the scsi mid-layer callback hooks.
*/ */
...@@ -1921,9 +1921,9 @@ megaraid_reset(struct scsi_cmnd *cmd) ...@@ -1921,9 +1921,9 @@ megaraid_reset(struct scsi_cmnd *cmd)
/** /**
* megaraid_abort_and_reset() * megaraid_abort_and_reset()
* @adapter - megaraid soft state * @adapter: megaraid soft state
* @cmd - scsi command to be aborted or reset * @cmd: scsi command to be aborted or reset
* @aor - abort or reset flag * @aor: abort or reset flag
* *
* Try to locate the scsi command in the pending queue. If found and is not * Try to locate the scsi command in the pending queue. If found and is not
* issued to the controller, abort/reset it. Otherwise return failure * issued to the controller, abort/reset it. Otherwise return failure
...@@ -2021,8 +2021,8 @@ free_local_pdev(struct pci_dev *pdev) ...@@ -2021,8 +2021,8 @@ free_local_pdev(struct pci_dev *pdev)
/** /**
* mega_allocate_inquiry() * mega_allocate_inquiry()
* @dma_handle - handle returned for dma address * @dma_handle: handle returned for dma address
* @pdev - handle to pci device * @pdev: handle to pci device
* *
* allocates memory for inquiry structure * allocates memory for inquiry structure
*/ */
...@@ -2045,8 +2045,8 @@ mega_free_inquiry(void *inquiry, dma_addr_t dma_handle, struct pci_dev *pdev) ...@@ -2045,8 +2045,8 @@ mega_free_inquiry(void *inquiry, dma_addr_t dma_handle, struct pci_dev *pdev)
/** /**
* proc_show_config() * proc_show_config()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display configuration information about the controller. * Display configuration information about the controller.
*/ */
...@@ -2109,8 +2109,8 @@ proc_show_config(struct seq_file *m, void *v) ...@@ -2109,8 +2109,8 @@ proc_show_config(struct seq_file *m, void *v)
/** /**
* proc_show_stat() * proc_show_stat()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display statistical information about the I/O activity. * Display statistical information about the I/O activity.
*/ */
...@@ -2143,8 +2143,8 @@ proc_show_stat(struct seq_file *m, void *v) ...@@ -2143,8 +2143,8 @@ proc_show_stat(struct seq_file *m, void *v)
/** /**
* proc_show_mbox() * proc_show_mbox()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display mailbox information for the last command issued. This information * Display mailbox information for the last command issued. This information
* is good for debugging. * is good for debugging.
...@@ -2171,8 +2171,8 @@ proc_show_mbox(struct seq_file *m, void *v) ...@@ -2171,8 +2171,8 @@ proc_show_mbox(struct seq_file *m, void *v)
/** /**
* proc_show_rebuild_rate() * proc_show_rebuild_rate()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display current rebuild rate * Display current rebuild rate
*/ */
...@@ -2214,8 +2214,8 @@ proc_show_rebuild_rate(struct seq_file *m, void *v) ...@@ -2214,8 +2214,8 @@ proc_show_rebuild_rate(struct seq_file *m, void *v)
/** /**
* proc_show_battery() * proc_show_battery()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display information about the battery module on the controller. * Display information about the battery module on the controller.
*/ */
...@@ -2317,9 +2317,9 @@ mega_print_inquiry(struct seq_file *m, char *scsi_inq) ...@@ -2317,9 +2317,9 @@ mega_print_inquiry(struct seq_file *m, char *scsi_inq)
/** /**
* proc_show_pdrv() * proc_show_pdrv()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @page - buffer to write the data in * @adapter: pointer to our soft state
* @adapter - pointer to our soft state * @channel: channel
* *
* Display information about the physical drives. * Display information about the physical drives.
*/ */
...@@ -2433,8 +2433,8 @@ proc_show_pdrv(struct seq_file *m, adapter_t *adapter, int channel) ...@@ -2433,8 +2433,8 @@ proc_show_pdrv(struct seq_file *m, adapter_t *adapter, int channel)
/** /**
* proc_show_pdrv_ch0() * proc_show_pdrv_ch0()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display information about the physical drives on physical channel 0. * Display information about the physical drives on physical channel 0.
*/ */
...@@ -2447,8 +2447,8 @@ proc_show_pdrv_ch0(struct seq_file *m, void *v) ...@@ -2447,8 +2447,8 @@ proc_show_pdrv_ch0(struct seq_file *m, void *v)
/** /**
* proc_show_pdrv_ch1() * proc_show_pdrv_ch1()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display information about the physical drives on physical channel 1. * Display information about the physical drives on physical channel 1.
*/ */
...@@ -2461,8 +2461,8 @@ proc_show_pdrv_ch1(struct seq_file *m, void *v) ...@@ -2461,8 +2461,8 @@ proc_show_pdrv_ch1(struct seq_file *m, void *v)
/** /**
* proc_show_pdrv_ch2() * proc_show_pdrv_ch2()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display information about the physical drives on physical channel 2. * Display information about the physical drives on physical channel 2.
*/ */
...@@ -2475,8 +2475,8 @@ proc_show_pdrv_ch2(struct seq_file *m, void *v) ...@@ -2475,8 +2475,8 @@ proc_show_pdrv_ch2(struct seq_file *m, void *v)
/** /**
* proc_show_pdrv_ch3() * proc_show_pdrv_ch3()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display information about the physical drives on physical channel 3. * Display information about the physical drives on physical channel 3.
*/ */
...@@ -2489,10 +2489,10 @@ proc_show_pdrv_ch3(struct seq_file *m, void *v) ...@@ -2489,10 +2489,10 @@ proc_show_pdrv_ch3(struct seq_file *m, void *v)
/** /**
* proc_show_rdrv() * proc_show_rdrv()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @start - starting logical drive to display * @start: starting logical drive to display
* @end - ending logical drive to display * @end: ending logical drive to display
* *
* We do not print the inquiry information since its already available through * We do not print the inquiry information since its already available through
* /proc/scsi/scsi interface * /proc/scsi/scsi interface
...@@ -2674,8 +2674,8 @@ proc_show_rdrv(struct seq_file *m, adapter_t *adapter, int start, int end ) ...@@ -2674,8 +2674,8 @@ proc_show_rdrv(struct seq_file *m, adapter_t *adapter, int start, int end )
/** /**
* proc_show_rdrv_10() * proc_show_rdrv_10()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display real time information about the logical drives 0 through 9. * Display real time information about the logical drives 0 through 9.
*/ */
...@@ -2688,8 +2688,8 @@ proc_show_rdrv_10(struct seq_file *m, void *v) ...@@ -2688,8 +2688,8 @@ proc_show_rdrv_10(struct seq_file *m, void *v)
/** /**
* proc_show_rdrv_20() * proc_show_rdrv_20()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display real time information about the logical drives 0 through 9. * Display real time information about the logical drives 0 through 9.
*/ */
...@@ -2702,8 +2702,8 @@ proc_show_rdrv_20(struct seq_file *m, void *v) ...@@ -2702,8 +2702,8 @@ proc_show_rdrv_20(struct seq_file *m, void *v)
/** /**
* proc_show_rdrv_30() * proc_show_rdrv_30()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display real time information about the logical drives 0 through 9. * Display real time information about the logical drives 0 through 9.
*/ */
...@@ -2716,8 +2716,8 @@ proc_show_rdrv_30(struct seq_file *m, void *v) ...@@ -2716,8 +2716,8 @@ proc_show_rdrv_30(struct seq_file *m, void *v)
/** /**
* proc_show_rdrv_40() * proc_show_rdrv_40()
* @m - Synthetic file construction data * @m: Synthetic file construction data
* @v - File iterator * @v: File iterator
* *
* Display real time information about the logical drives 0 through 9. * Display real time information about the logical drives 0 through 9.
*/ */
...@@ -2729,8 +2729,8 @@ proc_show_rdrv_40(struct seq_file *m, void *v) ...@@ -2729,8 +2729,8 @@ proc_show_rdrv_40(struct seq_file *m, void *v)
/** /**
* mega_create_proc_entry() * mega_create_proc_entry()
* @index - index in soft state array * @index: index in soft state array
* @parent - parent node for this /proc entry * @parent: parent node for this /proc entry
* *
* Creates /proc entries for our controllers. * Creates /proc entries for our controllers.
*/ */
...@@ -2785,7 +2785,7 @@ static inline void mega_create_proc_entry(int index, struct proc_dir_entry *pare ...@@ -2785,7 +2785,7 @@ static inline void mega_create_proc_entry(int index, struct proc_dir_entry *pare
#endif #endif
/** /*
* megaraid_biosparam() * megaraid_biosparam()
* *
* Return the disk geometry for a particular disk * Return the disk geometry for a particular disk
...@@ -2854,7 +2854,7 @@ megaraid_biosparam(struct scsi_device *sdev, struct block_device *bdev, ...@@ -2854,7 +2854,7 @@ megaraid_biosparam(struct scsi_device *sdev, struct block_device *bdev,
/** /**
* mega_init_scb() * mega_init_scb()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* *
* Allocate memory for the various pointers in the scb structures: * Allocate memory for the various pointers in the scb structures:
* scatter-gather list pointer, passthru and extended passthru structure * scatter-gather list pointer, passthru and extended passthru structure
...@@ -2934,8 +2934,8 @@ mega_init_scb(adapter_t *adapter) ...@@ -2934,8 +2934,8 @@ mega_init_scb(adapter_t *adapter)
/** /**
* megadev_open() * megadev_open()
* @inode - unused * @inode: unused
* @filep - unused * @filep: unused
* *
* Routines for the character/ioctl interface to the driver. Find out if this * Routines for the character/ioctl interface to the driver. Find out if this
* is a valid open. * is a valid open.
...@@ -2954,10 +2954,9 @@ megadev_open (struct inode *inode, struct file *filep) ...@@ -2954,10 +2954,9 @@ megadev_open (struct inode *inode, struct file *filep)
/** /**
* megadev_ioctl() * megadev_ioctl()
* @inode - Our device inode * @filep: Our device file
* @filep - unused * @cmd: ioctl command
* @cmd - ioctl command * @arg: user buffer
* @arg - user buffer
* *
* ioctl entry point for our private ioctl interface. We move the data in from * ioctl entry point for our private ioctl interface. We move the data in from
* the user space, prepare the command (if necessary, convert the old MIMD * the user space, prepare the command (if necessary, convert the old MIMD
...@@ -3370,8 +3369,8 @@ megadev_unlocked_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) ...@@ -3370,8 +3369,8 @@ megadev_unlocked_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
/** /**
* mega_m_to_n() * mega_m_to_n()
* @arg - user address * @arg: user address
* @uioc - new ioctl structure * @uioc: new ioctl structure
* *
* A thin layer to convert older mimd interface ioctl structure to NIT ioctl * A thin layer to convert older mimd interface ioctl structure to NIT ioctl
* structure * structure
...@@ -3498,8 +3497,8 @@ mega_m_to_n(void __user *arg, nitioctl_t *uioc) ...@@ -3498,8 +3497,8 @@ mega_m_to_n(void __user *arg, nitioctl_t *uioc)
/* /*
* mega_n_to_m() * mega_n_to_m()
* @arg - user address * @arg: user address
* @mc - mailbox command * @mc: mailbox command
* *
* Updates the status information to the application, depending on application * Updates the status information to the application, depending on application
* conforms to older mimd ioctl interface or newer NIT ioctl interface * conforms to older mimd ioctl interface or newer NIT ioctl interface
...@@ -3565,7 +3564,7 @@ mega_n_to_m(void __user *arg, megacmd_t *mc) ...@@ -3565,7 +3564,7 @@ mega_n_to_m(void __user *arg, megacmd_t *mc)
/** /**
* mega_is_bios_enabled() * mega_is_bios_enabled()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* *
* issue command to find out if the BIOS is enabled for this controller * issue command to find out if the BIOS is enabled for this controller
*/ */
...@@ -3596,7 +3595,7 @@ mega_is_bios_enabled(adapter_t *adapter) ...@@ -3596,7 +3595,7 @@ mega_is_bios_enabled(adapter_t *adapter)
/** /**
* mega_enum_raid_scsi() * mega_enum_raid_scsi()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* *
* Find out what channels are RAID/SCSI. This information is used to * Find out what channels are RAID/SCSI. This information is used to
* differentiate the virtual channels and physical channels and to support * differentiate the virtual channels and physical channels and to support
...@@ -3651,7 +3650,7 @@ mega_enum_raid_scsi(adapter_t *adapter) ...@@ -3651,7 +3650,7 @@ mega_enum_raid_scsi(adapter_t *adapter)
/** /**
* mega_get_boot_drv() * mega_get_boot_drv()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* *
* Find out which device is the boot device. Note, any logical drive or any * Find out which device is the boot device. Note, any logical drive or any
* phyical device (e.g., a CDROM) can be designated as a boot device. * phyical device (e.g., a CDROM) can be designated as a boot device.
...@@ -3718,7 +3717,7 @@ mega_get_boot_drv(adapter_t *adapter) ...@@ -3718,7 +3717,7 @@ mega_get_boot_drv(adapter_t *adapter)
/** /**
* mega_support_random_del() * mega_support_random_del()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* *
* Find out if this controller supports random deletion and addition of * Find out if this controller supports random deletion and addition of
* logical drives * logical drives
...@@ -3748,7 +3747,7 @@ mega_support_random_del(adapter_t *adapter) ...@@ -3748,7 +3747,7 @@ mega_support_random_del(adapter_t *adapter)
/** /**
* mega_support_ext_cdb() * mega_support_ext_cdb()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* *
* Find out if this firmware support cdblen > 10 * Find out if this firmware support cdblen > 10
*/ */
...@@ -3776,8 +3775,8 @@ mega_support_ext_cdb(adapter_t *adapter) ...@@ -3776,8 +3775,8 @@ mega_support_ext_cdb(adapter_t *adapter)
/** /**
* mega_del_logdrv() * mega_del_logdrv()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @logdrv - logical drive to be deleted * @logdrv: logical drive to be deleted
* *
* Delete the specified logical drive. It is the responsibility of the user * Delete the specified logical drive. It is the responsibility of the user
* app to let the OS know about this operation. * app to let the OS know about this operation.
...@@ -3862,7 +3861,7 @@ mega_do_del_logdrv(adapter_t *adapter, int logdrv) ...@@ -3862,7 +3861,7 @@ mega_do_del_logdrv(adapter_t *adapter, int logdrv)
/** /**
* mega_get_max_sgl() * mega_get_max_sgl()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* *
* Find out the maximum number of scatter-gather elements supported by this * Find out the maximum number of scatter-gather elements supported by this
* version of the firmware * version of the firmware
...@@ -3908,7 +3907,7 @@ mega_get_max_sgl(adapter_t *adapter) ...@@ -3908,7 +3907,7 @@ mega_get_max_sgl(adapter_t *adapter)
/** /**
* mega_support_cluster() * mega_support_cluster()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* *
* Find out if this firmware support cluster calls. * Find out if this firmware support cluster calls.
*/ */
...@@ -3950,8 +3949,8 @@ mega_support_cluster(adapter_t *adapter) ...@@ -3950,8 +3949,8 @@ mega_support_cluster(adapter_t *adapter)
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
/** /**
* mega_adapinq() * mega_adapinq()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @dma_handle - DMA address of the buffer * @dma_handle: DMA address of the buffer
* *
* Issue internal commands while interrupts are available. * Issue internal commands while interrupts are available.
* We only issue direct mailbox commands from within the driver. ioctl() * We only issue direct mailbox commands from within the driver. ioctl()
...@@ -3983,11 +3982,12 @@ mega_adapinq(adapter_t *adapter, dma_addr_t dma_handle) ...@@ -3983,11 +3982,12 @@ mega_adapinq(adapter_t *adapter, dma_addr_t dma_handle)
} }
/** mega_internal_dev_inquiry() /**
* @adapter - pointer to our soft state * mega_internal_dev_inquiry()
* @ch - channel for this device * @adapter: pointer to our soft state
* @tgt - ID of this device * @ch: channel for this device
* @buf_dma_handle - DMA address of the buffer * @tgt: ID of this device
* @buf_dma_handle: DMA address of the buffer
* *
* Issue the scsi inquiry for the specified device. * Issue the scsi inquiry for the specified device.
*/ */
...@@ -4056,9 +4056,9 @@ mega_internal_dev_inquiry(adapter_t *adapter, u8 ch, u8 tgt, ...@@ -4056,9 +4056,9 @@ mega_internal_dev_inquiry(adapter_t *adapter, u8 ch, u8 tgt,
/** /**
* mega_internal_command() * mega_internal_command()
* @adapter - pointer to our soft state * @adapter: pointer to our soft state
* @mc - the mailbox command * @mc: the mailbox command
* @pthru - Passthru structure for DCDB commands * @pthru: Passthru structure for DCDB commands
* *
* Issue the internal commands in interrupt mode. * Issue the internal commands in interrupt mode.
* The last argument is the address of the passthru structure if the command * The last argument is the address of the passthru structure if the command
......
...@@ -3304,7 +3304,6 @@ megaraid_mbox_fire_sync_cmd(adapter_t *adapter) ...@@ -3304,7 +3304,6 @@ megaraid_mbox_fire_sync_cmd(adapter_t *adapter)
* megaraid_mbox_display_scb - display SCB information, mostly debug purposes * megaraid_mbox_display_scb - display SCB information, mostly debug purposes
* @adapter : controller's soft state * @adapter : controller's soft state
* @scb : SCB to be displayed * @scb : SCB to be displayed
* @level : debug level for console print
* *
* Diplay information about the given SCB iff the current debug level is * Diplay information about the given SCB iff the current debug level is
* verbose. * verbose.
...@@ -3972,7 +3971,8 @@ megaraid_sysfs_get_ldmap(adapter_t *adapter) ...@@ -3972,7 +3971,8 @@ megaraid_sysfs_get_ldmap(adapter_t *adapter)
/** /**
* megaraid_sysfs_show_app_hndl - display application handle for this adapter * megaraid_sysfs_show_app_hndl - display application handle for this adapter
* @cdev : class device object representation for the host * @dev : class device object representation for the host
* @attr : device attribute (unused)
* @buf : buffer to send data to * @buf : buffer to send data to
* *
* Display the handle used by the applications while executing management * Display the handle used by the applications while executing management
......
...@@ -95,7 +95,6 @@ mraid_mm_open(struct inode *inode, struct file *filep) ...@@ -95,7 +95,6 @@ mraid_mm_open(struct inode *inode, struct file *filep)
/** /**
* mraid_mm_ioctl - module entry-point for ioctls * mraid_mm_ioctl - module entry-point for ioctls
* @inode : inode (ignored)
* @filep : file operations pointer (ignored) * @filep : file operations pointer (ignored)
* @cmd : ioctl command * @cmd : ioctl command
* @arg : user ioctl packet * @arg : user ioctl packet
......
...@@ -427,14 +427,14 @@ megasas_decode_evt(struct megasas_instance *instance) ...@@ -427,14 +427,14 @@ megasas_decode_evt(struct megasas_instance *instance)
evt_detail->description); evt_detail->description);
} }
/** /*
* The following functions are defined for xscale * The following functions are defined for xscale
* (deviceid : 1064R, PERC5) controllers * (deviceid : 1064R, PERC5) controllers
*/ */
/** /**
* megasas_enable_intr_xscale - Enables interrupts * megasas_enable_intr_xscale - Enables interrupts
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static inline void static inline void
megasas_enable_intr_xscale(struct megasas_instance *instance) megasas_enable_intr_xscale(struct megasas_instance *instance)
...@@ -450,7 +450,7 @@ megasas_enable_intr_xscale(struct megasas_instance *instance) ...@@ -450,7 +450,7 @@ megasas_enable_intr_xscale(struct megasas_instance *instance)
/** /**
* megasas_disable_intr_xscale -Disables interrupt * megasas_disable_intr_xscale -Disables interrupt
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static inline void static inline void
megasas_disable_intr_xscale(struct megasas_instance *instance) megasas_disable_intr_xscale(struct megasas_instance *instance)
...@@ -466,7 +466,7 @@ megasas_disable_intr_xscale(struct megasas_instance *instance) ...@@ -466,7 +466,7 @@ megasas_disable_intr_xscale(struct megasas_instance *instance)
/** /**
* megasas_read_fw_status_reg_xscale - returns the current FW status value * megasas_read_fw_status_reg_xscale - returns the current FW status value
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static u32 static u32
megasas_read_fw_status_reg_xscale(struct megasas_instance *instance) megasas_read_fw_status_reg_xscale(struct megasas_instance *instance)
...@@ -475,7 +475,7 @@ megasas_read_fw_status_reg_xscale(struct megasas_instance *instance) ...@@ -475,7 +475,7 @@ megasas_read_fw_status_reg_xscale(struct megasas_instance *instance)
} }
/** /**
* megasas_clear_interrupt_xscale - Check & clear interrupt * megasas_clear_interrupt_xscale - Check & clear interrupt
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static int static int
megasas_clear_intr_xscale(struct megasas_instance *instance) megasas_clear_intr_xscale(struct megasas_instance *instance)
...@@ -509,6 +509,7 @@ megasas_clear_intr_xscale(struct megasas_instance *instance) ...@@ -509,6 +509,7 @@ megasas_clear_intr_xscale(struct megasas_instance *instance)
/** /**
* megasas_fire_cmd_xscale - Sends command to the FW * megasas_fire_cmd_xscale - Sends command to the FW
* @instance: Adapter soft state
* @frame_phys_addr : Physical address of cmd * @frame_phys_addr : Physical address of cmd
* @frame_count : Number of frames for the command * @frame_count : Number of frames for the command
* @regs : MFI register set * @regs : MFI register set
...@@ -529,6 +530,7 @@ megasas_fire_cmd_xscale(struct megasas_instance *instance, ...@@ -529,6 +530,7 @@ megasas_fire_cmd_xscale(struct megasas_instance *instance,
/** /**
* megasas_adp_reset_xscale - For controller reset * megasas_adp_reset_xscale - For controller reset
* @instance: Adapter soft state
* @regs: MFI register set * @regs: MFI register set
*/ */
static int static int
...@@ -570,6 +572,7 @@ megasas_adp_reset_xscale(struct megasas_instance *instance, ...@@ -570,6 +572,7 @@ megasas_adp_reset_xscale(struct megasas_instance *instance,
/** /**
* megasas_check_reset_xscale - For controller reset check * megasas_check_reset_xscale - For controller reset check
* @instance: Adapter soft state
* @regs: MFI register set * @regs: MFI register set
*/ */
static int static int
...@@ -599,19 +602,19 @@ static struct megasas_instance_template megasas_instance_template_xscale = { ...@@ -599,19 +602,19 @@ static struct megasas_instance_template megasas_instance_template_xscale = {
.issue_dcmd = megasas_issue_dcmd, .issue_dcmd = megasas_issue_dcmd,
}; };
/** /*
* This is the end of set of functions & definitions specific * This is the end of set of functions & definitions specific
* to xscale (deviceid : 1064R, PERC5) controllers * to xscale (deviceid : 1064R, PERC5) controllers
*/ */
/** /*
* The following functions are defined for ppc (deviceid : 0x60) * The following functions are defined for ppc (deviceid : 0x60)
* controllers * controllers
*/ */
/** /**
* megasas_enable_intr_ppc - Enables interrupts * megasas_enable_intr_ppc - Enables interrupts
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static inline void static inline void
megasas_enable_intr_ppc(struct megasas_instance *instance) megasas_enable_intr_ppc(struct megasas_instance *instance)
...@@ -629,7 +632,7 @@ megasas_enable_intr_ppc(struct megasas_instance *instance) ...@@ -629,7 +632,7 @@ megasas_enable_intr_ppc(struct megasas_instance *instance)
/** /**
* megasas_disable_intr_ppc - Disable interrupt * megasas_disable_intr_ppc - Disable interrupt
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static inline void static inline void
megasas_disable_intr_ppc(struct megasas_instance *instance) megasas_disable_intr_ppc(struct megasas_instance *instance)
...@@ -645,7 +648,7 @@ megasas_disable_intr_ppc(struct megasas_instance *instance) ...@@ -645,7 +648,7 @@ megasas_disable_intr_ppc(struct megasas_instance *instance)
/** /**
* megasas_read_fw_status_reg_ppc - returns the current FW status value * megasas_read_fw_status_reg_ppc - returns the current FW status value
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static u32 static u32
megasas_read_fw_status_reg_ppc(struct megasas_instance *instance) megasas_read_fw_status_reg_ppc(struct megasas_instance *instance)
...@@ -655,7 +658,7 @@ megasas_read_fw_status_reg_ppc(struct megasas_instance *instance) ...@@ -655,7 +658,7 @@ megasas_read_fw_status_reg_ppc(struct megasas_instance *instance)
/** /**
* megasas_clear_interrupt_ppc - Check & clear interrupt * megasas_clear_interrupt_ppc - Check & clear interrupt
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static int static int
megasas_clear_intr_ppc(struct megasas_instance *instance) megasas_clear_intr_ppc(struct megasas_instance *instance)
...@@ -688,9 +691,10 @@ megasas_clear_intr_ppc(struct megasas_instance *instance) ...@@ -688,9 +691,10 @@ megasas_clear_intr_ppc(struct megasas_instance *instance)
/** /**
* megasas_fire_cmd_ppc - Sends command to the FW * megasas_fire_cmd_ppc - Sends command to the FW
* @frame_phys_addr : Physical address of cmd * @instance: Adapter soft state
* @frame_count : Number of frames for the command * @frame_phys_addr: Physical address of cmd
* @regs : MFI register set * @frame_count: Number of frames for the command
* @regs: MFI register set
*/ */
static inline void static inline void
megasas_fire_cmd_ppc(struct megasas_instance *instance, megasas_fire_cmd_ppc(struct megasas_instance *instance,
...@@ -708,6 +712,7 @@ megasas_fire_cmd_ppc(struct megasas_instance *instance, ...@@ -708,6 +712,7 @@ megasas_fire_cmd_ppc(struct megasas_instance *instance,
/** /**
* megasas_check_reset_ppc - For controller reset check * megasas_check_reset_ppc - For controller reset check
* @instance: Adapter soft state
* @regs: MFI register set * @regs: MFI register set
*/ */
static int static int
...@@ -738,7 +743,7 @@ static struct megasas_instance_template megasas_instance_template_ppc = { ...@@ -738,7 +743,7 @@ static struct megasas_instance_template megasas_instance_template_ppc = {
/** /**
* megasas_enable_intr_skinny - Enables interrupts * megasas_enable_intr_skinny - Enables interrupts
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static inline void static inline void
megasas_enable_intr_skinny(struct megasas_instance *instance) megasas_enable_intr_skinny(struct megasas_instance *instance)
...@@ -756,7 +761,7 @@ megasas_enable_intr_skinny(struct megasas_instance *instance) ...@@ -756,7 +761,7 @@ megasas_enable_intr_skinny(struct megasas_instance *instance)
/** /**
* megasas_disable_intr_skinny - Disables interrupt * megasas_disable_intr_skinny - Disables interrupt
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static inline void static inline void
megasas_disable_intr_skinny(struct megasas_instance *instance) megasas_disable_intr_skinny(struct megasas_instance *instance)
...@@ -772,7 +777,7 @@ megasas_disable_intr_skinny(struct megasas_instance *instance) ...@@ -772,7 +777,7 @@ megasas_disable_intr_skinny(struct megasas_instance *instance)
/** /**
* megasas_read_fw_status_reg_skinny - returns the current FW status value * megasas_read_fw_status_reg_skinny - returns the current FW status value
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static u32 static u32
megasas_read_fw_status_reg_skinny(struct megasas_instance *instance) megasas_read_fw_status_reg_skinny(struct megasas_instance *instance)
...@@ -782,7 +787,7 @@ megasas_read_fw_status_reg_skinny(struct megasas_instance *instance) ...@@ -782,7 +787,7 @@ megasas_read_fw_status_reg_skinny(struct megasas_instance *instance)
/** /**
* megasas_clear_interrupt_skinny - Check & clear interrupt * megasas_clear_interrupt_skinny - Check & clear interrupt
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static int static int
megasas_clear_intr_skinny(struct megasas_instance *instance) megasas_clear_intr_skinny(struct megasas_instance *instance)
...@@ -825,9 +830,10 @@ megasas_clear_intr_skinny(struct megasas_instance *instance) ...@@ -825,9 +830,10 @@ megasas_clear_intr_skinny(struct megasas_instance *instance)
/** /**
* megasas_fire_cmd_skinny - Sends command to the FW * megasas_fire_cmd_skinny - Sends command to the FW
* @frame_phys_addr : Physical address of cmd * @instance: Adapter soft state
* @frame_count : Number of frames for the command * @frame_phys_addr: Physical address of cmd
* @regs : MFI register set * @frame_count: Number of frames for the command
* @regs: MFI register set
*/ */
static inline void static inline void
megasas_fire_cmd_skinny(struct megasas_instance *instance, megasas_fire_cmd_skinny(struct megasas_instance *instance,
...@@ -847,6 +853,7 @@ megasas_fire_cmd_skinny(struct megasas_instance *instance, ...@@ -847,6 +853,7 @@ megasas_fire_cmd_skinny(struct megasas_instance *instance,
/** /**
* megasas_check_reset_skinny - For controller reset check * megasas_check_reset_skinny - For controller reset check
* @instance: Adapter soft state
* @regs: MFI register set * @regs: MFI register set
*/ */
static int static int
...@@ -876,14 +883,14 @@ static struct megasas_instance_template megasas_instance_template_skinny = { ...@@ -876,14 +883,14 @@ static struct megasas_instance_template megasas_instance_template_skinny = {
}; };
/** /*
* The following functions are defined for gen2 (deviceid : 0x78 0x79) * The following functions are defined for gen2 (deviceid : 0x78 0x79)
* controllers * controllers
*/ */
/** /**
* megasas_enable_intr_gen2 - Enables interrupts * megasas_enable_intr_gen2 - Enables interrupts
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static inline void static inline void
megasas_enable_intr_gen2(struct megasas_instance *instance) megasas_enable_intr_gen2(struct megasas_instance *instance)
...@@ -902,7 +909,7 @@ megasas_enable_intr_gen2(struct megasas_instance *instance) ...@@ -902,7 +909,7 @@ megasas_enable_intr_gen2(struct megasas_instance *instance)
/** /**
* megasas_disable_intr_gen2 - Disables interrupt * megasas_disable_intr_gen2 - Disables interrupt
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static inline void static inline void
megasas_disable_intr_gen2(struct megasas_instance *instance) megasas_disable_intr_gen2(struct megasas_instance *instance)
...@@ -918,7 +925,7 @@ megasas_disable_intr_gen2(struct megasas_instance *instance) ...@@ -918,7 +925,7 @@ megasas_disable_intr_gen2(struct megasas_instance *instance)
/** /**
* megasas_read_fw_status_reg_gen2 - returns the current FW status value * megasas_read_fw_status_reg_gen2 - returns the current FW status value
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static u32 static u32
megasas_read_fw_status_reg_gen2(struct megasas_instance *instance) megasas_read_fw_status_reg_gen2(struct megasas_instance *instance)
...@@ -928,7 +935,7 @@ megasas_read_fw_status_reg_gen2(struct megasas_instance *instance) ...@@ -928,7 +935,7 @@ megasas_read_fw_status_reg_gen2(struct megasas_instance *instance)
/** /**
* megasas_clear_interrupt_gen2 - Check & clear interrupt * megasas_clear_interrupt_gen2 - Check & clear interrupt
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static int static int
megasas_clear_intr_gen2(struct megasas_instance *instance) megasas_clear_intr_gen2(struct megasas_instance *instance)
...@@ -961,11 +968,13 @@ megasas_clear_intr_gen2(struct megasas_instance *instance) ...@@ -961,11 +968,13 @@ megasas_clear_intr_gen2(struct megasas_instance *instance)
return mfiStatus; return mfiStatus;
} }
/** /**
* megasas_fire_cmd_gen2 - Sends command to the FW * megasas_fire_cmd_gen2 - Sends command to the FW
* @frame_phys_addr : Physical address of cmd * @instance: Adapter soft state
* @frame_count : Number of frames for the command * @frame_phys_addr: Physical address of cmd
* @regs : MFI register set * @frame_count: Number of frames for the command
* @regs: MFI register set
*/ */
static inline void static inline void
megasas_fire_cmd_gen2(struct megasas_instance *instance, megasas_fire_cmd_gen2(struct megasas_instance *instance,
...@@ -983,7 +992,8 @@ megasas_fire_cmd_gen2(struct megasas_instance *instance, ...@@ -983,7 +992,8 @@ megasas_fire_cmd_gen2(struct megasas_instance *instance,
/** /**
* megasas_adp_reset_gen2 - For controller reset * megasas_adp_reset_gen2 - For controller reset
* @regs: MFI register set * @instance: Adapter soft state
* @reg_set: MFI register set
*/ */
static int static int
megasas_adp_reset_gen2(struct megasas_instance *instance, megasas_adp_reset_gen2(struct megasas_instance *instance,
...@@ -1043,6 +1053,7 @@ megasas_adp_reset_gen2(struct megasas_instance *instance, ...@@ -1043,6 +1053,7 @@ megasas_adp_reset_gen2(struct megasas_instance *instance,
/** /**
* megasas_check_reset_gen2 - For controller reset check * megasas_check_reset_gen2 - For controller reset check
* @instance: Adapter soft state
* @regs: MFI register set * @regs: MFI register set
*/ */
static int static int
...@@ -1071,10 +1082,10 @@ static struct megasas_instance_template megasas_instance_template_gen2 = { ...@@ -1071,10 +1082,10 @@ static struct megasas_instance_template megasas_instance_template_gen2 = {
.issue_dcmd = megasas_issue_dcmd, .issue_dcmd = megasas_issue_dcmd,
}; };
/** /*
* This is the end of set of functions & definitions * This is the end of set of functions & definitions
* specific to gen2 (deviceid : 0x78, 0x79) controllers * specific to gen2 (deviceid : 0x78, 0x79) controllers
*/ */
/* /*
* Template added for TB (Fusion) * Template added for TB (Fusion)
...@@ -1609,7 +1620,7 @@ megasas_build_ldio(struct megasas_instance *instance, struct scsi_cmnd *scp, ...@@ -1609,7 +1620,7 @@ megasas_build_ldio(struct megasas_instance *instance, struct scsi_cmnd *scp,
/** /**
* megasas_cmd_type - Checks if the cmd is for logical drive/sysPD * megasas_cmd_type - Checks if the cmd is for logical drive/sysPD
* and whether it's RW or non RW * and whether it's RW or non RW
* @scmd: SCSI command * @cmd: SCSI command
* *
*/ */
inline int megasas_cmd_type(struct scsi_cmnd *cmd) inline int megasas_cmd_type(struct scsi_cmnd *cmd)
...@@ -1749,8 +1760,8 @@ megasas_build_and_issue_cmd(struct megasas_instance *instance, ...@@ -1749,8 +1760,8 @@ megasas_build_and_issue_cmd(struct megasas_instance *instance,
/** /**
* megasas_queue_command - Queue entry point * megasas_queue_command - Queue entry point
* @shost: adapter SCSI host
* @scmd: SCSI command to be queued * @scmd: SCSI command to be queued
* @done: Callback entry point
*/ */
static int static int
megasas_queue_command(struct Scsi_Host *shost, struct scsi_cmnd *scmd) megasas_queue_command(struct Scsi_Host *shost, struct scsi_cmnd *scmd)
...@@ -2916,11 +2927,7 @@ megasas_dump(void *buf, int sz, int format) ...@@ -2916,11 +2927,7 @@ megasas_dump(void *buf, int sz, int format)
/** /**
* megasas_dump_reg_set - This function will print hexdump of register set * megasas_dump_reg_set - This function will print hexdump of register set
* @buf: Buffer to be dumped * @reg_set: Register set to be dumped
* @sz: Size in bytes
* @format: Different formats of dumping e.g. format=n will
* cause only 'n' 32 bit words to be dumped in a
* single line.
*/ */
inline void inline void
megasas_dump_reg_set(void __iomem *reg_set) megasas_dump_reg_set(void __iomem *reg_set)
...@@ -2997,6 +3004,7 @@ megasas_dump_sys_regs(void __iomem *reg_set, char *buf) ...@@ -2997,6 +3004,7 @@ megasas_dump_sys_regs(void __iomem *reg_set, char *buf)
/** /**
* megasas_reset_bus_host - Bus & host reset handler entry point * megasas_reset_bus_host - Bus & host reset handler entry point
* @scmd: Mid-layer SCSI command
*/ */
static int megasas_reset_bus_host(struct scsi_cmnd *scmd) static int megasas_reset_bus_host(struct scsi_cmnd *scmd)
{ {
...@@ -3777,7 +3785,7 @@ megasas_issue_pending_cmds_again(struct megasas_instance *instance) ...@@ -3777,7 +3785,7 @@ megasas_issue_pending_cmds_again(struct megasas_instance *instance)
megasas_register_aen(instance, seq_num, class_locale.word); megasas_register_aen(instance, seq_num, class_locale.word);
} }
/** /*
* Move the internal reset pending commands to a deferred queue. * Move the internal reset pending commands to a deferred queue.
* *
* We move the commands pending at internal reset time to a * We move the commands pending at internal reset time to a
...@@ -3785,7 +3793,7 @@ megasas_issue_pending_cmds_again(struct megasas_instance *instance) ...@@ -3785,7 +3793,7 @@ megasas_issue_pending_cmds_again(struct megasas_instance *instance)
* completion of the internal reset sequence. if the internal reset * completion of the internal reset sequence. if the internal reset
* did not complete in time, the kernel reset handler would flush * did not complete in time, the kernel reset handler would flush
* these commands. * these commands.
**/ */
static void static void
megasas_internal_reset_defer_cmds(struct megasas_instance *instance) megasas_internal_reset_defer_cmds(struct megasas_instance *instance)
{ {
...@@ -3963,8 +3971,11 @@ megasas_deplete_reply_queue(struct megasas_instance *instance, ...@@ -3963,8 +3971,11 @@ megasas_deplete_reply_queue(struct megasas_instance *instance,
tasklet_schedule(&instance->isr_tasklet); tasklet_schedule(&instance->isr_tasklet);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
/** /**
* megasas_isr - isr entry point * megasas_isr - isr entry point
* @irq: IRQ number
* @devp: IRQ context address
*/ */
static irqreturn_t megasas_isr(int irq, void *devp) static irqreturn_t megasas_isr(int irq, void *devp)
{ {
...@@ -3986,6 +3997,7 @@ static irqreturn_t megasas_isr(int irq, void *devp) ...@@ -3986,6 +3997,7 @@ static irqreturn_t megasas_isr(int irq, void *devp)
/** /**
* megasas_transition_to_ready - Move the FW to READY state * megasas_transition_to_ready - Move the FW to READY state
* @instance: Adapter soft state * @instance: Adapter soft state
* @ocr: Adapter reset state
* *
* During the initialization, FW passes can potentially be in any one of * During the initialization, FW passes can potentially be in any one of
* several possible states. If the FW in operational, waiting-for-handshake * several possible states. If the FW in operational, waiting-for-handshake
...@@ -4743,7 +4755,7 @@ megasas_get_ld_list(struct megasas_instance *instance) ...@@ -4743,7 +4755,7 @@ megasas_get_ld_list(struct megasas_instance *instance)
/** /**
* megasas_ld_list_query - Returns FW's ld_list structure * megasas_ld_list_query - Returns FW's ld_list structure
* @instance: Adapter soft state * @instance: Adapter soft state
* @ld_list: ld_list structure * @query_type: ld_list structure type
* *
* Issues an internal command (DCMD) to get the FW's controller PD * Issues an internal command (DCMD) to get the FW's controller PD
* list structure. This information is mainly used to find out SYSTEM * list structure. This information is mainly used to find out SYSTEM
...@@ -5653,7 +5665,6 @@ megasas_destroy_irqs(struct megasas_instance *instance) { ...@@ -5653,7 +5665,6 @@ megasas_destroy_irqs(struct megasas_instance *instance) {
/** /**
* megasas_setup_jbod_map - setup jbod map for FP seq_number. * megasas_setup_jbod_map - setup jbod map for FP seq_number.
* @instance: Adapter soft state * @instance: Adapter soft state
* @is_probe: Driver probe check
* *
* Return 0 on success. * Return 0 on success.
*/ */
...@@ -6494,7 +6505,7 @@ megasas_get_seq_num(struct megasas_instance *instance, ...@@ -6494,7 +6505,7 @@ megasas_get_seq_num(struct megasas_instance *instance,
* megasas_register_aen - Registers for asynchronous event notification * megasas_register_aen - Registers for asynchronous event notification
* @instance: Adapter soft state * @instance: Adapter soft state
* @seq_num: The starting sequence number * @seq_num: The starting sequence number
* @class_locale: Class of the event * @class_locale_word: Class of the event
* *
* This function subscribes for AEN for events beyond the @seq_num. It requests * This function subscribes for AEN for events beyond the @seq_num. It requests
* to be notified if and only if the event is of type @class_locale * to be notified if and only if the event is of type @class_locale
...@@ -7014,8 +7025,9 @@ static inline void megasas_free_ctrl_mem(struct megasas_instance *instance) ...@@ -7014,8 +7025,9 @@ static inline void megasas_free_ctrl_mem(struct megasas_instance *instance)
* megasas_alloc_ctrl_dma_buffers - Allocate consistent DMA buffers during * megasas_alloc_ctrl_dma_buffers - Allocate consistent DMA buffers during
* driver load time * driver load time
* *
* @instance- Adapter soft instance * @instance: Adapter soft instance
* @return- O for SUCCESS *
* @return: O for SUCCESS
*/ */
static inline static inline
int megasas_alloc_ctrl_dma_buffers(struct megasas_instance *instance) int megasas_alloc_ctrl_dma_buffers(struct megasas_instance *instance)
...@@ -7931,7 +7943,7 @@ static void megasas_detach_one(struct pci_dev *pdev) ...@@ -7931,7 +7943,7 @@ static void megasas_detach_one(struct pci_dev *pdev)
/** /**
* megasas_shutdown - Shutdown entry point * megasas_shutdown - Shutdown entry point
* @device: Generic device structure * @pdev: Generic device structure
*/ */
static void megasas_shutdown(struct pci_dev *pdev) static void megasas_shutdown(struct pci_dev *pdev)
{ {
...@@ -7956,8 +7968,10 @@ static void megasas_shutdown(struct pci_dev *pdev) ...@@ -7956,8 +7968,10 @@ static void megasas_shutdown(struct pci_dev *pdev)
pci_free_irq_vectors(instance->pdev); pci_free_irq_vectors(instance->pdev);
} }
/** /*
* megasas_mgmt_open - char node "open" entry point * megasas_mgmt_open - char node "open" entry point
* @inode: char node inode
* @filep: char node file
*/ */
static int megasas_mgmt_open(struct inode *inode, struct file *filep) static int megasas_mgmt_open(struct inode *inode, struct file *filep)
{ {
...@@ -7970,8 +7984,11 @@ static int megasas_mgmt_open(struct inode *inode, struct file *filep) ...@@ -7970,8 +7984,11 @@ static int megasas_mgmt_open(struct inode *inode, struct file *filep)
return 0; return 0;
} }
/** /*
* megasas_mgmt_fasync - Async notifier registration from applications * megasas_mgmt_fasync - Async notifier registration from applications
* @fd: char node file descriptor number
* @filep: char node file
* @mode: notifier on/off
* *
* This function adds the calling process to a driver global queue. When an * This function adds the calling process to a driver global queue. When an
* event occurs, SIGIO will be sent to all processes in this queue. * event occurs, SIGIO will be sent to all processes in this queue.
...@@ -7997,9 +8014,11 @@ static int megasas_mgmt_fasync(int fd, struct file *filep, int mode) ...@@ -7997,9 +8014,11 @@ static int megasas_mgmt_fasync(int fd, struct file *filep, int mode)
return rc; return rc;
} }
/** /*
* megasas_mgmt_poll - char node "poll" entry point * megasas_mgmt_poll - char node "poll" entry point
* */ * @filep: char node file
* @wait: Events to poll for
*/
static __poll_t megasas_mgmt_poll(struct file *file, poll_table *wait) static __poll_t megasas_mgmt_poll(struct file *file, poll_table *wait)
{ {
__poll_t mask; __poll_t mask;
...@@ -8057,7 +8076,8 @@ static int megasas_set_crash_dump_params_ioctl(struct megasas_cmd *cmd) ...@@ -8057,7 +8076,8 @@ static int megasas_set_crash_dump_params_ioctl(struct megasas_cmd *cmd)
/** /**
* megasas_mgmt_fw_ioctl - Issues management ioctls to FW * megasas_mgmt_fw_ioctl - Issues management ioctls to FW
* @instance: Adapter soft state * @instance: Adapter soft state
* @argp: User's ioctl packet * @user_ioc: User's ioctl packet
* @ioc: ioctl packet
*/ */
static int static int
megasas_mgmt_fw_ioctl(struct megasas_instance *instance, megasas_mgmt_fw_ioctl(struct megasas_instance *instance,
...@@ -8397,6 +8417,9 @@ static int megasas_mgmt_ioctl_aen(struct file *file, unsigned long arg) ...@@ -8397,6 +8417,9 @@ static int megasas_mgmt_ioctl_aen(struct file *file, unsigned long arg)
/** /**
* megasas_mgmt_ioctl - char node ioctl entry point * megasas_mgmt_ioctl - char node ioctl entry point
* @file: char device file pointer
* @cmd: ioctl command
* @arg: ioctl command arguments address
*/ */
static long static long
megasas_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) megasas_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
......
...@@ -90,9 +90,9 @@ extern u32 megasas_readl(struct megasas_instance *instance, ...@@ -90,9 +90,9 @@ extern u32 megasas_readl(struct megasas_instance *instance,
/** /**
* megasas_adp_reset_wait_for_ready - initiate chip reset and wait for * megasas_adp_reset_wait_for_ready - initiate chip reset and wait for
* controller to come to ready state * controller to come to ready state
* @instance - adapter's soft state * @instance: adapter's soft state
* @do_adp_reset - If true, do a chip reset * @do_adp_reset: If true, do a chip reset
* @ocr_context - If called from OCR context this will * @ocr_context: If called from OCR context this will
* be set to 1, else 0 * be set to 1, else 0
* *
* This function initates a chip reset followed by a wait for controller to * This function initates a chip reset followed by a wait for controller to
...@@ -146,10 +146,10 @@ megasas_adp_reset_wait_for_ready(struct megasas_instance *instance, ...@@ -146,10 +146,10 @@ megasas_adp_reset_wait_for_ready(struct megasas_instance *instance,
/** /**
* megasas_check_same_4gb_region - check if allocation * megasas_check_same_4gb_region - check if allocation
* crosses same 4GB boundary or not * crosses same 4GB boundary or not
* @instance - adapter's soft instance * @instance: adapter's soft instance
* start_addr - start address of DMA allocation * @start_addr: start address of DMA allocation
* size - size of allocation in bytes * @size: size of allocation in bytes
* return - true : allocation does not cross same * @return: true : allocation does not cross same
* 4GB boundary * 4GB boundary
* false: allocation crosses same * false: allocation crosses same
* 4GB boundary * 4GB boundary
...@@ -174,7 +174,7 @@ static inline bool megasas_check_same_4gb_region ...@@ -174,7 +174,7 @@ static inline bool megasas_check_same_4gb_region
/** /**
* megasas_enable_intr_fusion - Enables interrupts * megasas_enable_intr_fusion - Enables interrupts
* @regs: MFI register set * @instance: adapter's soft instance
*/ */
static void static void
megasas_enable_intr_fusion(struct megasas_instance *instance) megasas_enable_intr_fusion(struct megasas_instance *instance)
...@@ -196,7 +196,7 @@ megasas_enable_intr_fusion(struct megasas_instance *instance) ...@@ -196,7 +196,7 @@ megasas_enable_intr_fusion(struct megasas_instance *instance)
/** /**
* megasas_disable_intr_fusion - Disables interrupt * megasas_disable_intr_fusion - Disables interrupt
* @regs: MFI register set * @instance: adapter's soft instance
*/ */
static void static void
megasas_disable_intr_fusion(struct megasas_instance *instance) megasas_disable_intr_fusion(struct megasas_instance *instance)
...@@ -238,6 +238,7 @@ megasas_clear_intr_fusion(struct megasas_instance *instance) ...@@ -238,6 +238,7 @@ megasas_clear_intr_fusion(struct megasas_instance *instance)
/** /**
* megasas_get_cmd_fusion - Get a command from the free pool * megasas_get_cmd_fusion - Get a command from the free pool
* @instance: Adapter soft state * @instance: Adapter soft state
* @blk_tag: Command tag
* *
* Returns a blk_tag indexed mpt frame * Returns a blk_tag indexed mpt frame
*/ */
...@@ -310,7 +311,7 @@ megasas_fire_cmd_fusion(struct megasas_instance *instance, ...@@ -310,7 +311,7 @@ megasas_fire_cmd_fusion(struct megasas_instance *instance,
/** /**
* megasas_fusion_update_can_queue - Do all Adapter Queue depth related calculations here * megasas_fusion_update_can_queue - Do all Adapter Queue depth related calculations here
* @instance: Adapter soft state * @instance: Adapter soft state
* fw_boot_context: Whether this function called during probe or after OCR * @fw_boot_context: Whether this function called during probe or after OCR
* *
* This function is only for fusion controllers. * This function is only for fusion controllers.
* Update host can queue, if firmware downgrade max supported firmware commands. * Update host can queue, if firmware downgrade max supported firmware commands.
...@@ -1016,6 +1017,7 @@ megasas_alloc_cmds_fusion(struct megasas_instance *instance) ...@@ -1016,6 +1017,7 @@ megasas_alloc_cmds_fusion(struct megasas_instance *instance)
* wait_and_poll - Issues a polling command * wait_and_poll - Issues a polling command
* @instance: Adapter soft state * @instance: Adapter soft state
* @cmd: Command packet to be issued * @cmd: Command packet to be issued
* @seconds: Maximum poll time
* *
* For polling, MFI requires the cmd_status to be set to 0xFF before posting. * For polling, MFI requires the cmd_status to be set to 0xFF before posting.
*/ */
...@@ -1906,6 +1908,7 @@ megasas_init_adapter_fusion(struct megasas_instance *instance) ...@@ -1906,6 +1908,7 @@ megasas_init_adapter_fusion(struct megasas_instance *instance)
/** /**
* megasas_fault_detect_work - Worker function of * megasas_fault_detect_work - Worker function of
* FW fault handling workqueue. * FW fault handling workqueue.
* @work: FW fault work struct
*/ */
static void static void
megasas_fault_detect_work(struct work_struct *work) megasas_fault_detect_work(struct work_struct *work)
...@@ -1989,11 +1992,13 @@ megasas_fusion_stop_watchdog(struct megasas_instance *instance) ...@@ -1989,11 +1992,13 @@ megasas_fusion_stop_watchdog(struct megasas_instance *instance)
/** /**
* map_cmd_status - Maps FW cmd status to OS cmd status * map_cmd_status - Maps FW cmd status to OS cmd status
* @cmd : Pointer to cmd * @fusion: fusion context
* @status : status of cmd returned by FW * @scmd: Pointer to cmd
* @ext_status : ext status of cmd returned by FW * @status: status of cmd returned by FW
* @ext_status: ext status of cmd returned by FW
* @data_length: command data length
* @sense: command sense data
*/ */
static void static void
map_cmd_status(struct fusion_context *fusion, map_cmd_status(struct fusion_context *fusion,
struct scsi_cmnd *scmd, u8 status, u8 ext_status, struct scsi_cmnd *scmd, u8 status, u8 ext_status,
...@@ -2234,7 +2239,7 @@ megasas_make_prp_nvme(struct megasas_instance *instance, struct scsi_cmnd *scmd, ...@@ -2234,7 +2239,7 @@ megasas_make_prp_nvme(struct megasas_instance *instance, struct scsi_cmnd *scmd,
* @scp: SCSI command from the mid-layer * @scp: SCSI command from the mid-layer
* @sgl_ptr: SGL to be filled in * @sgl_ptr: SGL to be filled in
* @cmd: cmd we are working on * @cmd: cmd we are working on
* @sge_count sge count * @sge_count: sge count
* *
*/ */
static void static void
...@@ -2343,9 +2348,12 @@ int megasas_make_sgl(struct megasas_instance *instance, struct scsi_cmnd *scp, ...@@ -2343,9 +2348,12 @@ int megasas_make_sgl(struct megasas_instance *instance, struct scsi_cmnd *scp,
/** /**
* megasas_set_pd_lba - Sets PD LBA * megasas_set_pd_lba - Sets PD LBA
* @cdb: CDB * @io_request: IO request
* @cdb_len: cdb length * @cdb_len: cdb length
* @start_blk: Start block of IO * @io_info: IO information
* @scp: SCSI command
* @local_map_ptr: Raid map
* @ref_tag: Primary reference tag
* *
* Used to set the PD LBA in CDB for FP IOs * Used to set the PD LBA in CDB for FP IOs
*/ */
...@@ -2603,10 +2611,12 @@ static void megasas_stream_detect(struct megasas_instance *instance, ...@@ -2603,10 +2611,12 @@ static void megasas_stream_detect(struct megasas_instance *instance,
* affinity (cpu of the controller) and raid_flags in the raid context * affinity (cpu of the controller) and raid_flags in the raid context
* based on IO type. * based on IO type.
* *
* @fusion: Fusion context
* @praid_context: IO RAID context * @praid_context: IO RAID context
* @raid: LD raid map * @raid: LD raid map
* @fp_possible: Is fast path possible? * @fp_possible: Is fast path possible?
* @is_read: Is read IO? * @is_read: Is read IO?
* @scsi_buff_len: SCSI command buffer length
* *
*/ */
static void static void
...@@ -2940,7 +2950,7 @@ megasas_build_ldio_fusion(struct megasas_instance *instance, ...@@ -2940,7 +2950,7 @@ megasas_build_ldio_fusion(struct megasas_instance *instance,
/** /**
* megasas_build_ld_nonrw_fusion - prepares non rw ios for virtual disk * megasas_build_ld_nonrw_fusion - prepares non rw ios for virtual disk
* @instance: Adapter soft state * @instance: Adapter soft state
* @scp: SCSI command * @scmd: SCSI command
* @cmd: Command to be prepared * @cmd: Command to be prepared
* *
* Prepares the io_request frame for non-rw io cmds for vd. * Prepares the io_request frame for non-rw io cmds for vd.
...@@ -3028,7 +3038,7 @@ static void megasas_build_ld_nonrw_fusion(struct megasas_instance *instance, ...@@ -3028,7 +3038,7 @@ static void megasas_build_ld_nonrw_fusion(struct megasas_instance *instance,
/** /**
* megasas_build_syspd_fusion - prepares rw/non-rw ios for syspd * megasas_build_syspd_fusion - prepares rw/non-rw ios for syspd
* @instance: Adapter soft state * @instance: Adapter soft state
* @scp: SCSI command * @scmd: SCSI command
* @cmd: Command to be prepared * @cmd: Command to be prepared
* @fp_possible: parameter to detect fast path or firmware path io. * @fp_possible: parameter to detect fast path or firmware path io.
* *
...@@ -3405,7 +3415,7 @@ megasas_build_and_issue_cmd_fusion(struct megasas_instance *instance, ...@@ -3405,7 +3415,7 @@ megasas_build_and_issue_cmd_fusion(struct megasas_instance *instance,
* megasas_complete_r1_command - * megasas_complete_r1_command -
* completes R1 FP write commands which has valid peer smid * completes R1 FP write commands which has valid peer smid
* @instance: Adapter soft state * @instance: Adapter soft state
* @cmd_fusion: MPT command frame * @cmd: MPT command frame
* *
*/ */
static inline void static inline void
...@@ -3459,6 +3469,9 @@ megasas_complete_r1_command(struct megasas_instance *instance, ...@@ -3459,6 +3469,9 @@ megasas_complete_r1_command(struct megasas_instance *instance,
/** /**
* complete_cmd_fusion - Completes command * complete_cmd_fusion - Completes command
* @instance: Adapter soft state * @instance: Adapter soft state
* @MSIxIndex: MSI number
* @irq_context: IRQ context
*
* Completes all commands that is in reply descriptor queue * Completes all commands that is in reply descriptor queue
*/ */
static int static int
...@@ -3634,6 +3647,7 @@ complete_cmd_fusion(struct megasas_instance *instance, u32 MSIxIndex, ...@@ -3634,6 +3647,7 @@ complete_cmd_fusion(struct megasas_instance *instance, u32 MSIxIndex,
/** /**
* megasas_enable_irq_poll() - enable irqpoll * megasas_enable_irq_poll() - enable irqpoll
* @instance: Adapter soft state
*/ */
static void megasas_enable_irq_poll(struct megasas_instance *instance) static void megasas_enable_irq_poll(struct megasas_instance *instance)
{ {
...@@ -3650,7 +3664,7 @@ static void megasas_enable_irq_poll(struct megasas_instance *instance) ...@@ -3650,7 +3664,7 @@ static void megasas_enable_irq_poll(struct megasas_instance *instance)
/** /**
* megasas_sync_irqs - Synchronizes all IRQs owned by adapter * megasas_sync_irqs - Synchronizes all IRQs owned by adapter
* @instance: Adapter soft state * @instance_addr: Adapter soft state address
*/ */
static void megasas_sync_irqs(unsigned long instance_addr) static void megasas_sync_irqs(unsigned long instance_addr)
{ {
...@@ -3706,7 +3720,7 @@ int megasas_irqpoll(struct irq_poll *irqpoll, int budget) ...@@ -3706,7 +3720,7 @@ int megasas_irqpoll(struct irq_poll *irqpoll, int budget)
/** /**
* megasas_complete_cmd_dpc_fusion - Completes command * megasas_complete_cmd_dpc_fusion - Completes command
* @instance: Adapter soft state * @instance_addr: Adapter soft state address
* *
* Tasklet to complete cmds * Tasklet to complete cmds
*/ */
...@@ -3729,6 +3743,8 @@ megasas_complete_cmd_dpc_fusion(unsigned long instance_addr) ...@@ -3729,6 +3743,8 @@ megasas_complete_cmd_dpc_fusion(unsigned long instance_addr)
/** /**
* megasas_isr_fusion - isr entry point * megasas_isr_fusion - isr entry point
* @irq: IRQ number
* @devp: IRQ context
*/ */
static irqreturn_t megasas_isr_fusion(int irq, void *devp) static irqreturn_t megasas_isr_fusion(int irq, void *devp)
{ {
...@@ -3763,7 +3779,7 @@ static irqreturn_t megasas_isr_fusion(int irq, void *devp) ...@@ -3763,7 +3779,7 @@ static irqreturn_t megasas_isr_fusion(int irq, void *devp)
/** /**
* build_mpt_mfi_pass_thru - builds a cmd fo MFI Pass thru * build_mpt_mfi_pass_thru - builds a cmd fo MFI Pass thru
* @instance: Adapter soft state * @instance: Adapter soft state
* mfi_cmd: megasas_cmd pointer * @mfi_cmd: megasas_cmd pointer
* *
*/ */
static void static void
...@@ -3880,7 +3896,7 @@ megasas_release_fusion(struct megasas_instance *instance) ...@@ -3880,7 +3896,7 @@ megasas_release_fusion(struct megasas_instance *instance)
/** /**
* megasas_read_fw_status_reg_fusion - returns the current FW status value * megasas_read_fw_status_reg_fusion - returns the current FW status value
* @regs: MFI register set * @instance: Adapter soft state
*/ */
static u32 static u32
megasas_read_fw_status_reg_fusion(struct megasas_instance *instance) megasas_read_fw_status_reg_fusion(struct megasas_instance *instance)
...@@ -3891,7 +3907,7 @@ megasas_read_fw_status_reg_fusion(struct megasas_instance *instance) ...@@ -3891,7 +3907,7 @@ megasas_read_fw_status_reg_fusion(struct megasas_instance *instance)
/** /**
* megasas_alloc_host_crash_buffer - Host buffers for Crash dump collection from Firmware * megasas_alloc_host_crash_buffer - Host buffers for Crash dump collection from Firmware
* @instance: Controller's soft instance * @instance: Controller's soft instance
* return: Number of allocated host crash buffers * @return: Number of allocated host crash buffers
*/ */
static void static void
megasas_alloc_host_crash_buffer(struct megasas_instance *instance) megasas_alloc_host_crash_buffer(struct megasas_instance *instance)
...@@ -3929,6 +3945,7 @@ megasas_free_host_crash_buffer(struct megasas_instance *instance) ...@@ -3929,6 +3945,7 @@ megasas_free_host_crash_buffer(struct megasas_instance *instance)
/** /**
* megasas_adp_reset_fusion - For controller reset * megasas_adp_reset_fusion - For controller reset
* @instance: Controller's soft instance
* @regs: MFI register set * @regs: MFI register set
*/ */
static int static int
...@@ -4006,6 +4023,7 @@ megasas_adp_reset_fusion(struct megasas_instance *instance, ...@@ -4006,6 +4023,7 @@ megasas_adp_reset_fusion(struct megasas_instance *instance,
/** /**
* megasas_check_reset_fusion - For controller reset check * megasas_check_reset_fusion - For controller reset check
* @instance: Controller's soft instance
* @regs: MFI register set * @regs: MFI register set
*/ */
static int static int
...@@ -4335,7 +4353,7 @@ static int megasas_track_scsiio(struct megasas_instance *instance, ...@@ -4335,7 +4353,7 @@ static int megasas_track_scsiio(struct megasas_instance *instance,
/** /**
* megasas_tm_response_code - translation of device response code * megasas_tm_response_code - translation of device response code
* @ioc: per adapter object * @instance: Controller's soft instance
* @mpi_reply: MPI reply returned by firmware * @mpi_reply: MPI reply returned by firmware
* *
* Return nothing. * Return nothing.
...@@ -4391,9 +4409,9 @@ megasas_tm_response_code(struct megasas_instance *instance, ...@@ -4391,9 +4409,9 @@ megasas_tm_response_code(struct megasas_instance *instance,
* @device_handle: device handle * @device_handle: device handle
* @channel: the channel assigned by the OS * @channel: the channel assigned by the OS
* @id: the id assigned by the OS * @id: the id assigned by the OS
* @type: MPI2_SCSITASKMGMT_TASKTYPE__XXX (defined in megaraid_sas_fusion.c)
* @smid_task: smid assigned to the task * @smid_task: smid assigned to the task
* @m_type: TM_MUTEX_ON or TM_MUTEX_OFF * @type: MPI2_SCSITASKMGMT_TASKTYPE__XXX (defined in megaraid_sas_fusion.c)
* @mr_device_priv_data: private data
* Context: user * Context: user
* *
* MegaRaid use MPT interface for Task Magement request. * MegaRaid use MPT interface for Task Magement request.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment