Re: [PATCH] sym53c500_cs PCMCIA SCSI driver (round 3 - the charm?)

From: Russell King
Date: Sun Apr 25 2004 - 02:37:41 EST


On Sat, Apr 24, 2004 at 10:01:54PM -0500, Bob Tracy wrote:
> In addition to all the concerns Christoph raised in response to the
> previous two submissions, there was an issue with the code for handling
> a CS_EVENT_CARD_RESET event: the event handler was calling the bus_reset
> function with a NULL scsi_cmnd argument.

Hmm, so what happens if you're in the middle of a transaction, and
you receive a CS_EVENT_CARD_RESET. What happens to the command in
progress ?

Sure, the hardware is reset to a sane state, but what about the
software state in the driver?

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/