On Tue, 2009-12-01 at 14:22 +0900, Tejun Heo wrote: > libata-acpi.c does that. Setting ATA_DFLAG_DETACH device flag and > scheduling EH will do that. Please take a look at > ata_acpi_detach_device() but you must be *sure* that your hot unplug > notification is completely reliable. That looks even better than prereset hook actually... I'll have a look Cheers Ben. -- 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