On Mon, Jun 20, 2016 at 10:03:48AM -0500, Shaun Tancheff wrote: > index bfec66f..3dcc29e 100644 > --- a/drivers/ata/libata-scsi.c > +++ b/drivers/ata/libata-scsi.c > @@ -1204,6 +1204,9 @@ static int ata_scsi_dev_config(struct scsi_device *sdev, > if (!ata_id_has_unload(dev->id)) > dev->flags |= ATA_DFLAG_NO_UNLOAD; > > + if (ata_id_sct_write_same(dev->id)) > + sdev->sct_write_same = 1; > + No need scsi_device flags for libata internal data. You need to expose your capabilities through the SCSI protocol to the SCSI midlayer. -- To unsubscribe from this list: 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