aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gdth.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-06-20 10:51:24 -0400
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-06-20 10:51:24 -0400
commitdf5179854bca84ac5be500849b12dd33ce03f03f (patch)
tree78cf16415489e70f34c58f2c7f5c2e63696e9761 /drivers/scsi/gdth.c
parent0f45aa18e65cf3d768082d7d86054a0d2a20bb18 (diff)
parent8b22c249e7de453961e4d253b19fc2a0bdd65d53 (diff)
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'drivers/scsi/gdth.c')
-rw-r--r--drivers/scsi/gdth.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c
index a9eaab9fbd5e..4552cccd2834 100644
--- a/drivers/scsi/gdth.c
+++ b/drivers/scsi/gdth.c
@@ -4703,19 +4703,6 @@ static const char *gdth_info(struct Scsi_Host *shp)
4703 return ((const char *)ha->binfo.type_string); 4703 return ((const char *)ha->binfo.type_string);
4704} 4704}
4705 4705
4706/* new error handling */
4707static int gdth_eh_abort(Scsi_Cmnd *scp)
4708{
4709 TRACE2(("gdth_eh_abort()\n"));
4710 return FAILED;
4711}
4712
4713static int gdth_eh_device_reset(Scsi_Cmnd *scp)
4714{
4715 TRACE2(("gdth_eh_device_reset()\n"));
4716 return FAILED;
4717}
4718
4719static int gdth_eh_bus_reset(Scsi_Cmnd *scp) 4706static int gdth_eh_bus_reset(Scsi_Cmnd *scp)
4720{ 4707{
4721 int i, hanum; 4708 int i, hanum;
@@ -4770,13 +4757,6 @@ static int gdth_eh_bus_reset(Scsi_Cmnd *scp)
4770 return SUCCESS; 4757 return SUCCESS;
4771} 4758}
4772 4759
4773static int gdth_eh_host_reset(Scsi_Cmnd *scp)
4774{
4775 TRACE2(("gdth_eh_host_reset()\n"));
4776 return FAILED;
4777}
4778
4779
4780#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) 4760#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
4781static int gdth_bios_param(struct scsi_device *sdev,struct block_device *bdev,sector_t cap,int *ip) 4761static int gdth_bios_param(struct scsi_device *sdev,struct block_device *bdev,sector_t cap,int *ip)
4782#else 4762#else
@@ -5713,10 +5693,7 @@ static Scsi_Host_Template driver_template = {
5713 .release = gdth_release, 5693 .release = gdth_release,
5714 .info = gdth_info, 5694 .info = gdth_info,
5715 .queuecommand = gdth_queuecommand, 5695 .queuecommand = gdth_queuecommand,
5716 .eh_abort_handler = gdth_eh_abort,
5717 .eh_device_reset_handler = gdth_eh_device_reset,
5718 .eh_bus_reset_handler = gdth_eh_bus_reset, 5696 .eh_bus_reset_handler = gdth_eh_bus_reset,
5719 .eh_host_reset_handler = gdth_eh_host_reset,
5720 .bios_param = gdth_bios_param, 5697 .bios_param = gdth_bios_param,
5721 .can_queue = GDTH_MAXCMDS, 5698 .can_queue = GDTH_MAXCMDS,
5722 .this_id = -1, 5699 .this_id = -1,