]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[PATCH] libata: use ata_scsi_timed_out()
authorTejun Heo <htejun@gmail.com>
Fri, 10 Feb 2006 06:10:48 +0000 (15:10 +0900)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 10 Feb 2006 11:50:46 +0000 (06:50 -0500)
Make all libata low level drivers use ata_scsi_timed_out().

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
15 files changed:
drivers/scsi/ahci.c
drivers/scsi/ata_piix.c
drivers/scsi/pdc_adma.c
drivers/scsi/sata_mv.c
drivers/scsi/sata_nv.c
drivers/scsi/sata_promise.c
drivers/scsi/sata_qstor.c
drivers/scsi/sata_sil.c
drivers/scsi/sata_sil24.c
drivers/scsi/sata_sis.c
drivers/scsi/sata_svw.c
drivers/scsi/sata_sx4.c
drivers/scsi/sata_uli.c
drivers/scsi/sata_via.c
drivers/scsi/sata_vsc.c

index c840d5ec12a72be6180d8a8fafbac035b3dd6492..c67189a4e0b1cfcad607601b11f944d86f824e2e 100644 (file)
@@ -206,6 +206,7 @@ static struct scsi_host_template ahci_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 49cc4209fe16790a26020d743e90c5000d7b4f95..4933ba284885f90f44db87912f461944d308f5ab 100644 (file)
@@ -180,6 +180,7 @@ static struct scsi_host_template piix_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 3a6bf58dc37b9affdd3e506371fe13c87dc19018..d0ad3ebe968500809423b84f10790881747254b4 100644 (file)
@@ -143,6 +143,7 @@ static struct scsi_host_template adma_ata_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 3e916327ae3738421efce50ae3508b418fd9c617..1db05f23f12f061a5cabed561d24e8bb561c6ae4 100644 (file)
@@ -378,6 +378,7 @@ static struct scsi_host_template mv_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = MV_USE_Q_DEPTH,
        .this_id                = ATA_SHT_THIS_ID,
index bbbb55eeb73a521d52797bf9da858fbad7040911..cdfeb9aa600bb7a065beac4d821e0f3e34d367b0 100644 (file)
@@ -229,6 +229,7 @@ static struct scsi_host_template nv_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 0950a8e4581477d3c88e9d9989afe3d1e11e90fe..5d4ed54d9452734f0d68169a5ecca1b3c1b8b419 100644 (file)
@@ -111,6 +111,7 @@ static struct scsi_host_template pdc_ata_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 2afbeb77f6fea62f9492ce0681b28bd9f59cd42a..82c3df7048ea7177c9b4e719e76aadeeff71ce4e 100644 (file)
@@ -132,6 +132,7 @@ static struct scsi_host_template qs_ata_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 17f74d3c10e7c76ff4ef97846c61baa72bb9f4b4..f40f25edbb11ee7e191a4263d2b1af6dbd30c7f3 100644 (file)
@@ -135,6 +135,7 @@ static struct scsi_host_template sil_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 7222fc7ff3fc49c1e59601133624b51d1584f259..f4742ad3c962684dc811827bf2b26be77d18766a 100644 (file)
@@ -280,6 +280,7 @@ static struct scsi_host_template sil24_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 2df8c5632ac367a6e7b022efa0facb6874a5bb91..2f1815715705805a76d69b2b3727c1fb578f9761 100644 (file)
@@ -87,6 +87,7 @@ static struct scsi_host_template sis_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index d8472563fde860cc0789f982bc896ab9104ba38e..f369c3003adfa5fc3c0d7a40d6db4d6ec56b8e19 100644 (file)
@@ -288,6 +288,7 @@ static struct scsi_host_template k2_sata_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 9f992fbcf2e7db5c3b33ca95b4aeccd3a59d3fcf..3319f03b61a0c1fddc938607ab4c68d5af2e7b92 100644 (file)
@@ -182,6 +182,7 @@ static struct scsi_host_template pdc_sata_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 9635ca7009770b823adbc79f0fa944acf70f0186..c500f24909028b197de21659dd60e3032b601c2b 100644 (file)
@@ -75,6 +75,7 @@ static struct scsi_host_template uli_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 6d5b0a794cfdf056e9abcf4272cca7709b9cba2a..2e20887dc88f4c042a69031a4a33a2c0509b5b5d 100644 (file)
@@ -94,6 +94,7 @@ static struct scsi_host_template svia_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,
index 2e2c3b7acb0c9a5704b359c2db0719879644e866..cf1f8a61bda01e56d2c97edc1102568d02afdedb 100644 (file)
@@ -223,6 +223,7 @@ static struct scsi_host_template vsc_sata_sht = {
        .name                   = DRV_NAME,
        .ioctl                  = ata_scsi_ioctl,
        .queuecommand           = ata_scsi_queuecmd,
+       .eh_timed_out           = ata_scsi_timed_out,
        .eh_strategy_handler    = ata_scsi_error,
        .can_queue              = ATA_DEF_QUEUE,
        .this_id                = ATA_SHT_THIS_ID,