b4e93a739e
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> |
||
---|---|---|
.. | ||
Makefile | ||
sym53c8xx.h | ||
sym_defs.h | ||
sym_fw1.h | ||
sym_fw2.h | ||
sym_fw.c | ||
sym_fw.h | ||
sym_glue.c | ||
sym_glue.h | ||
sym_hipd.c | ||
sym_hipd.h | ||
sym_malloc.c | ||
sym_misc.h | ||
sym_nvram.c | ||
sym_nvram.h |