/* Return the untagged transaction id for a given target/channel lun.  */
static u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl)
/* Return the untagged transaction id for a given target/channel lun.  */
static u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl)
{
	u_int scbid;
	u_int scb_offset;
	u_int saved_scbptr;
	scb_offset = ahd_index_busy_tcl(ahd, &saved_scbptr, tcl);
	scbid = ahd_inw_scbram(ahd, scb_offset);
	ahd_set_scbptr(ahd, saved_scbptr);
	return (scbid);
}