]> www.infradead.org Git - users/jedix/linux-maple.git/commit
[SCSI] mpt2sas: Removed redundant calling of _scsih_probe_devices() from _scsih_probe
authornagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com>
Tue, 13 Dec 2011 03:59:15 +0000 (09:29 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 16 Dec 2011 16:49:37 +0000 (11:49 -0500)
commit3417146f10a726244c4b9f6215bbc4fac81005aa
tree8c20e5a244f84d80e4e9d73d43dd1836d493ffd2
parent0e163e1136243b3402c6d745f2fd414b5498553b
[SCSI] mpt2sas: Removed redundant calling of _scsih_probe_devices() from _scsih_probe

Removed redundant calling of _scsih_probe_devices() from _scsih_probe as
it is getting called from _scsih_scan_finished.

Also moved the function scsi_scan_host(shost) to get called after the
volumes on warp drive are reported to the OS. Otherwise by the time
the (ioc->hide_drives) flags is set, the volumes on warp drive
are reported to the OS already.

Also modified the initialization of reply queues only in case of driver load
time in the function _base_make_ioc_operational().

Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_base.c
drivers/scsi/mpt2sas/mpt2sas_scsih.c