Tejun Heo wrote:
Separate out ata_find_dev() and __ata_scsi_find_dev() from
ata_scsi_find_dev(). ata_find_dev() checks ATA_FLAG_SLAVE_POSS for
id==1 case, so all three functions return NULL if id==1 is specified
for !SLAVE_POSS port. These will be used by later hotplug
implementation.
Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
ACK with future comment:
Once we have a better way to sequence simplex + master/slave + normal
SATA, libata-scsi should move to exporting one Scsi_Host per controller,
with each physical ATA bus being a scsi channel.
libata abuses Scsi_Host currently, to make master/slave + normal SATA
sequencing work. (note to self: need to review that area WRT NCQ, too)
Jeff
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html