linux/drivers/scsi/sym53c8xx_2
Matthew Wilcox b4e93a739e [SCSI] Simplify error handling
Use wait_for_completion_timeout() instead of using a timer (as
Christoph Hellwig did for aic7xxx).

That lets me eliminate the sym_eh_wait structure; the struct completion,
the old_done pointer and the to_do flag can be folded into the sym_ucmd
(which overrides the scsi_pointer in scsi_cmnd).

The sym_eh_done() function becomes much simpler as the timeout handling
is done in sym_eh_handler() directly.

The host_lock can be unlocked earlier, and I cache the host in
a local variable to make accesses to it quicker.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-04-13 10:13:25 -05:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sym53c8xx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sym_defs.h [SCSI] sym2: Version 2.2.2 2005-12-13 18:11:50 -07:00
sym_fw1.h [SCSI] sym2: Remove code to handle DMA_BIDIRECTION requests 2005-12-13 18:11:39 -07:00
sym_fw2.h [SCSI] sym2: Remove code to handle DMA_BIDIRECTION requests 2005-12-13 18:11:39 -07:00
sym_fw.c [SCSI] sym2: Remove code to handle DMA_BIDIRECTION requests 2005-12-13 18:11:39 -07:00
sym_fw.h [SCSI] sym2: Remove code to handle DMA_BIDIRECTION requests 2005-12-13 18:11:39 -07:00
sym_glue.c [SCSI] Simplify error handling 2006-04-13 10:13:25 -05:00
sym_glue.h [SCSI] Disable sym2 driver queueing 2006-04-13 10:13:24 -05:00
sym_hipd.c [SCSI] Allow nvram settings to determine bus mode 2006-04-13 10:13:25 -05:00
sym_hipd.h [SCSI] Disable sym2 driver queueing 2006-04-13 10:13:24 -05:00
sym_malloc.c [SCSI] sym2: Remove FreeBSD ifdefs 2005-12-13 18:11:27 -07:00
sym_misc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sym_nvram.c [SCSI] sym2: Allow NVRAM settings to limit speed and width 2005-12-13 18:11:45 -07:00
sym_nvram.h [SCSI] sym2: Allow NVRAM settings to limit speed and width 2005-12-13 18:11:45 -07:00