commit | 1d5a1aa903f2cdf6e8fffa53673f001502b89e15 | [log] [tgz] |
---|---|---|
author | Park, Aiden <aiden.park@intel.com> | Tue Aug 20 16:47:42 2019 +0000 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 26 11:46:20 2019 -0400 |
tree | 0774d44b3c315d603830189d60c2c86e86c929f0 | |
parent | c73c22f5a41f014e201cd181f406cd8062f0dec8 [diff] |
dm: scsi: Scan the actual number of ports The scsi_scan_dev() is looping over the number of uc_plat->max_id. The number of actual ports a AHCI controller has can be greater than max_id. Update uc_plat->max_id to make SCSI scan all detected ports. Signed-off-by: Aiden Park <aiden.park@intel.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>