[SCSI] megaraid_sas: Add the support for updating the OS after adding/removing the...
authorYang, Bo <Bo.Yang@lsi.com>
Tue, 6 Oct 2009 20:50:17 +0000 (14:50 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 29 Oct 2009 17:03:21 +0000 (13:03 -0400)
commit7e8a75f4dfbff173977b2f58799c3eceb7b09afd
tree3ef74557eaa6cf0ceb6a68e71b0dfb068bb52cb4
parent0c79e681eef10810a5ed41a2eb1dce244ab1c37d
[SCSI] megaraid_sas: Add the support for updating the OS after adding/removing the devices from FW

Driver will update the OS devices after adding and deleting the device
from FW.  When driver receive add or delete AEN from FW, driver will
send the DCMD cmd to get the System PD list from FW.  Then driver will
check if this device already in the OS: If add event and OS don't have
the device (but it is in the list), driver add the device to OS,
otherwise driver will not add.  If remove event, driver will check the
list, if is not in the list, but OS have the device, driver will
remove the device.

Signed-off-by Bo Yang<bo.yang@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/megaraid/megaraid_sas.c
drivers/scsi/megaraid/megaraid_sas.h
This page took 0.02553 seconds and 5 git commands to generate.