From: Matthew Wilcox Date: Wed, 22 Nov 2006 20:24:54 +0000 (-0700) Subject: [SCSI] Make scsi_scan_host work for drivers which find their own targets X-Git-Tag: v2.6.20-rc1~34^2~20^2~41^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aa8fab2acf1cb8b341131b726773fcff0abc707;p=pandora-kernel.git [SCSI] Make scsi_scan_host work for drivers which find their own targets If a driver can find its own targets, it can now fill in scan_finished and (optionally) scan_start in the scsi_host_template. Then, when it calls scsi_scan_host(), it will be called back (from a thread if asynchronous discovery is enabled), first to start the scan, and then at intervals to check if the scan is completed. Also make scsi_prep_async_scan and scsi_finish_async_scan static. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed