diff options
author | Jaroslav Kysela <perex@hera.kernel.org> | 2005-06-21 10:39:41 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@hera.kernel.org> | 2005-06-21 10:39:41 -0400 |
commit | fae6ec69c84d71b1d5bda9ede1a262c1681684aa (patch) | |
tree | eb4aff9a5c2b7d04ce09a3717bb1dd4a79fe7595 /drivers/scsi/gdth.c | |
parent | bbc0274e9bb2e3f1d724d445a2bd32566b9b66f7 (diff) | |
parent | 1d345dac1f30af1cd9f3a1faa12f9f18f17f236e (diff) |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'drivers/scsi/gdth.c')
-rw-r--r-- | drivers/scsi/gdth.c | 23 |
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 */ | ||
4707 | static int gdth_eh_abort(Scsi_Cmnd *scp) | ||
4708 | { | ||
4709 | TRACE2(("gdth_eh_abort()\n")); | ||
4710 | return FAILED; | ||
4711 | } | ||
4712 | |||
4713 | static int gdth_eh_device_reset(Scsi_Cmnd *scp) | ||
4714 | { | ||
4715 | TRACE2(("gdth_eh_device_reset()\n")); | ||
4716 | return FAILED; | ||
4717 | } | ||
4718 | |||
4719 | static int gdth_eh_bus_reset(Scsi_Cmnd *scp) | 4706 | static 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 | ||
4773 | static 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) |
4781 | static int gdth_bios_param(struct scsi_device *sdev,struct block_device *bdev,sector_t cap,int *ip) | 4761 | static 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, |