/* Determine whether the sequencer reported a residual for this SCB/transaction.  */
static void ahd_update_residual(struct ahd_softc *ahd, struct scb *scb)
/* Determine whether the sequencer reported a residual for this SCB/transaction.  */
static void ahd_update_residual(struct ahd_softc *ahd, struct scb *scb)
{
	uint32_t sgptr;
	sgptr = ahd_le32toh(scb->hscb->sgptr);
	if ((sgptr & SG_STATUS_VALID) != 0)
		ahd_calc_residual(ahd, scb);
}