Date: Tue, 22 Dec 1998 15:11:43 -0800 (PST) From: Julian Elischer <julian@whistle.com> To: "Justin T. Gibbs" <gibbs@plutotech.com> Cc: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>, scsi@FreeBSD.ORG Subject: Re: 3.0R && AHA1540A == no go Message-ID: <Pine.BSF.3.95.981222150613.10686A-100000@current1.whistle.com> In-Reply-To: <199812222241.PAA01754@pluto.plutotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Dec 1998, Justin T. Gibbs wrote: > >From memory, the old driver tried to handle this case > >so you might look there for clues... > > The old driver never used the residual reporting opcodes and > the SCSI framework in general ignored residual information. The reseidual infrmation was not used because some adapters didn't supply it. However those same adaptrers can be assumed to either totally fail or succeed in disk operations (so you KNOW the residual), or on tape devices, the residual arrives later in a sense block. (for short reads) Since the 1540 returns the sense info with the response, it is possible to synthesise this information in all cases that a user of a 1540 probably needs. Joerg, you'll probably have to add the code yourself but you should be able to find the info you need in: 1/the old 1542 driver 2/the old st.c (fore getting residuals on tapes) 3/the old scsi_error.c (I think) more generic sense block handling stuff. I don't have any scsi stuff now so I'l going by memeory... > > -- > Justin > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.981222150613.10686A-100000>