/* Determine whether the sequencer reported a residual for this SCB/transaction.  */
static void ahc_update_residual(struct ahc_softc *ahc, struct scb *scb)
/* Determine whether the sequencer reported a residual for this SCB/transaction.  */
static void ahc_update_residual(struct ahc_softc *ahc, struct scb *scb)
{
	uint32_t sgptr;
	sgptr = ahc_le32toh(scb->hscb->sgptr);
	if ((sgptr & SG_RESID_VALID) != 0)
		ahc_calc_residual(ahc, scb);
}