
24 Apr
2017
24 Apr
'17
5:38 a.m.
On 21 April 2017 at 04:08, Jean-Jacques Hiblot jjhiblot@ti.com wrote:
The DM version of scsi_scan() is becoming a bit long, it can be split: scsi_scan() iterates over the IDs and LUNs and for each id/lun pair calls do_scsi_scan_one() to do the work of:
- detecting an attached drive
- creating the associated block device if a drive is found.
Signed-off-by: Jean-Jacques Hiblot jjhiblot@ti.com
common/scsi.c | 102 ++++++++++++++++++++++++++++------------------------------ 1 file changed, 49 insertions(+), 53 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org