summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-15 06:28:46 +0300
committerSimon Glass <sjg@chromium.org>2017-07-11 19:08:19 +0300
commit681357ffd9fe4528d020a878ef6ee61f519d8d85 (patch)
tree271008f521aad643de4c1fa9909920698ba13a81 /drivers/scsi/scsi.c
parent5c56176318c8a602fa78813ac273f16a10278a2d (diff)
downloadu-boot-681357ffd9fe4528d020a878ef6ee61f519d8d85.tar.xz
dm: ahci: Add a driver for SCSI on AHCI
Some AHCI drivers use SCSI under the hood. Rather than making the AHCI driver be in the SCSI uclass it makes sense to have the AHCI device create a SCSI device as a child. That way we can handle any AHCI-specific operations rather than trying to pretend tha the device is just SCSI. To handle this we need to provide a way for AHCI drivers to bind a SCSI device as its child, and probe it. Add functions for this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
0 files changed, 0 insertions, 0 deletions