]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: megaraid_sas: Rework device add code in AEN path
authorShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Tue, 29 Jan 2019 09:38:13 +0000 (01:38 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Feb 2019 03:52:20 +0000 (22:52 -0500)
commitc263ae04cf89d0dfaaaeeef7e28a1e8d382a1297
tree0b8558806b33bad0e89b5b2be8ea983fdc3bae20
parenta0229a5f2fc477ff3a8c572072dca517aabcd9b3
scsi: megaraid_sas: Rework device add code in AEN path

In preparation of adding support for the DEVICE_LIST DCMD, this patch
refactors the code in the AEN event handling path.  Add new function to
update the PD and LD list in driver.  Move the code to scan PD and VD
channels into separate function.

Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_base.c