aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-03-18 04:40:14 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-21 14:07:05 -0500
commit30afc84cf7325e88fb9746340eba3c161080ff49 (patch)
tree829ea31d6ab095bd7a35651cd6018205a2b21d11 /drivers/scsi/libata-core.c
parentd04cdb64212eb5ae6a98026a97dda626e40e8e9a (diff)
[SCSI] libata: implement minimal transport template for ->eh_timed_out
SCSI midlayer has moved hostt->eh_timed_out to transport template. As libata doesn't need full-blown transport support yet, implement minimal transport for libata. No transport class or whatsoever, just empty transport template with ->eh_timed_out hook. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r--drivers/scsi/libata-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index 714b42bad935..64dce00e9c46 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -4653,6 +4653,8 @@ static struct ata_port * ata_host_add(const struct ata_probe_ent *ent,
4653 if (!host) 4653 if (!host)
4654 return NULL; 4654 return NULL;
4655 4655
4656 host->transportt = &ata_scsi_transport_template;
4657
4656 ap = (struct ata_port *) &host->hostdata[0]; 4658 ap = (struct ata_port *) &host->hostdata[0];
4657 4659
4658 ata_host_init(ap, host, host_set, ent, port_no); 4660 ata_host_init(ap, host, host_set, ent, port_no);
@@ -5084,7 +5086,6 @@ EXPORT_SYMBOL_GPL(ata_busy_sleep);
5084EXPORT_SYMBOL_GPL(ata_port_queue_task); 5086EXPORT_SYMBOL_GPL(ata_port_queue_task);
5085EXPORT_SYMBOL_GPL(ata_scsi_ioctl); 5087EXPORT_SYMBOL_GPL(ata_scsi_ioctl);
5086EXPORT_SYMBOL_GPL(ata_scsi_queuecmd); 5088EXPORT_SYMBOL_GPL(ata_scsi_queuecmd);
5087EXPORT_SYMBOL_GPL(ata_scsi_timed_out);
5088EXPORT_SYMBOL_GPL(ata_scsi_error); 5089EXPORT_SYMBOL_GPL(ata_scsi_error);
5089EXPORT_SYMBOL_GPL(ata_scsi_slave_config); 5090EXPORT_SYMBOL_GPL(ata_scsi_slave_config);
5090EXPORT_SYMBOL_GPL(ata_scsi_release); 5091EXPORT_SYMBOL_GPL(ata_scsi_release);