]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mpt2sas: modified _scsih_sas_device_find_by_handle/sas_address
authorKashyap, Desai <kashyap.desai@lsi.com>
Tue, 9 Mar 2010 11:02:17 +0000 (16:32 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:28 +0000 (09:23 -0500)
commitc5b80bf19821c6539525e0a70f667078a1a72e8a
tree78b6f5d7945e2a6250f6085fe41243c389865805
parent62486666035dd4107b1d634fc2f0cce3d173d610
[SCSI] mpt2sas: modified _scsih_sas_device_find_by_handle/sas_address

modified _scsih_sas_device_find_by_handle
so to handle the search on both list(device list and device_init_list)
Also, we moved the priority of the
search so the ioc->sas_device_list is done first.  The
"sas_device_init_list" is only used during the 1st port enable, so its
unlikely there’s devices on it.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Reviewed-by: Eric Moore <eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c