/* Purpose : update SCSI Data Pointer Notes : this will only be one SG entry or less  */
static void acornscsi_data_updateptr(AS_Host *host, struct scsi_pointer *SCp, unsigned int length)
/* Purpose : update SCSI Data Pointer Notes : this will only be one SG entry or less  */
static void acornscsi_data_updateptr(AS_Host *host, struct scsi_pointer *SCp, unsigned int length)
{
    SCp->ptr += length;
    SCp->this_residual -= length;
    if (SCp->this_residual == 0 && next_SCp(SCp) == 0)
	host->dma.xfer_done = 1;
}