On Mon, Oct 31, 2011 at 11:27 PM, JiSheng Zhang <jszhang3@xxxxxxxxx> wrote: > The problem is the model, vendor and xfer mode etc is changed also, I > need to re-identify and re-configure it. > I did these by manually call > ata_scsi_find_dev()=>ata_dev_read_id()=>ata_dev_configure()=>ata_set_mode() >From userland, # echo - - - > /sys/class/scsi_host/hostX/rescan >From kernel, spin_lock_irqsave(ap->lock, flags); dev->link.eh_info.dev_action[dev->devno] |= ATA_EH_REVALIDATE; ata_port_schedule_eh(ap); spin_unlock_irqrestore(ap->lock, flags); -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html