Re: aic7xxx sets CDR offline, how to reset?

Justin T. Gibbs
2002-09-05T13:35:23Z

> On Sep 4, 10:50am, Justin T. Gibbs wrote:
>>
>> This of course assumes that all transactions have a serial number and
>> that requeuing transactions orders them by serial number. With QErr
>> set, the device closes the rest if the barrier race for you, but even
>> without barriers, full transaction ordering is required if you don't
>> want a read to inadvertantly pass a write to the same location during
>> recovery.
>
>
> The original FCP (SCSI commands over Fibre) profile specified that QERR=1
> was not available. Unless that is changed, it would appear that you
> cannot count on being able to set Qerr.
>
> Qerr was one of those annoying little things in SCSI that forces host
> adapter drivers to know a mode page setting.

It is not the controllers that know, but the type drivers. The controller
drivers should be conduits for commands, nothing more. With the proper
events and error codes, the type drivers can maintain mode parameters
and only the type drivers know what parameters are appropriate for their
type of service.

For FC, you need to use ECA/ACA anyway as that is the only way to deal with
inflight commands at the time of an error.

--
Justin