> I imagine some sort of port or host flag, that the LLD could set > to indicate that it can correctly handle TRIM. Or not handle TRIM. > > Tejun is pretty good at these flag things.. I wonder what he might suggest? As I said - just error it in your driver qc_issue function. If you are feeling really arty you can hook do_identify and mask the bit in the ident data as well. See it821x 'smart' RAID mode for both of those in pata_it821x.c Alan -- 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