diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-08-14 09:10:37 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-08-27 11:17:39 -0600 |
| commit | 101d9a6a53cc05f62195f75792746ce3c9cce7b1 (patch) | |
| tree | cb4390e641a4b1389953294dc115e8cb67056bbc /include/linux/string.h | |
| parent | a60c20bda8ad917af7952364b8159ea31c50f358 (diff) | |
ata: sata_rescan must scan for block devices
A system may have multiple SATA controller. Removing the controller with
the lowest sequence number before probing all SATA controllers makes no
sense.
In sata_rescan we remove all block devices which are children of SATA
controllers. We also have to remove the bootdev devices as they will be
created when scanning for block devices.
After probing all SATA controllers we must scan for block devices otherwise
we end up without any SATA block device.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Tony Dinh <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
