Re: Proper handling of data underrun

2005-04-08 Thread Andreas Herrmann
Douglas Gilbert <[EMAIL PROTECTED]> wrote: > underflow- LLD should place (DID_ERROR << 16) in 'result' if > actual number of bytes transferred is less than this > figure. Not many LLDs implement this check and some > that do just

Re: Proper handling of data underrun

2005-04-08 Thread Douglas Gilbert
Andreas Herrmann wrote: Hi, Documentation/scsi/scsi_mid_low_api.txt says: resid- an LLD should set this signed integer to the ... underflow- LLD should place (DID_ERROR << 16) in 'result' if ... underflow- LLD should place (DID_ERROR << 16) in 'result' if