.. | .. |
---|
1195 | 1195 | - pointer to scsi_device object that this command is |
---|
1196 | 1196 | associated with. |
---|
1197 | 1197 | resid |
---|
1198 | | - - an LLD should set this signed integer to the requested |
---|
| 1198 | + - an LLD should set this unsigned integer to the requested |
---|
1199 | 1199 | transfer length (i.e. 'request_bufflen') less the number |
---|
1200 | 1200 | of bytes that are actually transferred. 'resid' is |
---|
1201 | 1201 | preset to 0 so an LLD can ignore it if it cannot detect |
---|
1202 | | - underruns (overruns should be rare). If possible an LLD |
---|
| 1202 | + underruns (overruns should not be reported). An LLD |
---|
1203 | 1203 | should set 'resid' prior to invoking 'done'. The most |
---|
1204 | 1204 | interesting case is data transfers from a SCSI target |
---|
1205 | 1205 | device (e.g. READs) that underrun. |
---|