Re: [U-Boot] [PATCH 27/29] dm: ahci: Add a driver for SCSI on AHCI

2017-06-14 Thread Simon Glass
Hi Bin, On 12 June 2017 at 21:14, Bin Meng wrote: > Hi Simon, > > On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass wrote: >> 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

Re: [U-Boot] [PATCH 27/29] dm: ahci: Add a driver for SCSI on AHCI

2017-06-12 Thread Bin Meng
Hi Simon, On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass wrote: > 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 rath

[U-Boot] [PATCH 27/29] dm: ahci: Add a driver for SCSI on AHCI

2017-06-05 Thread Simon Glass
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