]> 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)
commitb2dea6e2c03e9ae629717dc0a4ecd629313d1e4a
tree0b8558806b33bad0e89b5b2be8ea983fdc3bae20
parent6f37007b07dc1079975e38aecfba54f4a3759c35
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