} else { if (MX_TXOWN(sc->mx_cdata.mx_tx_head) == MX_UNSENT) { MX_TXOWN(sc->mx_cdata.mx_tx_head) = MX_TXSTAT_OWN; ifp->if_timer = 5; CSR_WRITE_4(sc, MX_TXSTART, 0xFFFFFFFF); }
static void mx_txeoc(sc)	struct mx_softc		*sc;{	struct ifnet		*ifp;	ifp = &sc->arpcom.ac_if;	ifp->if_timer = 0;	if (sc->mx_cdata.mx_tx_head == NULL) {		ifp->if_flags &= ~IFF_OACTIVE;		sc->mx_cdata.mx_tx_tail = NULL;		if (sc->mx_want_auto) {			if (sc->mx_type == MX_TYPE_98713 &&						sc->mx_hasmii != 0)				mx_autoneg_mii(sc, MX_FLAG_DELAYTIMEO, 1);			else				mx_autoneg(sc, MX_FLAG_DELAYTIMEO, 1);		}	} else {		if (MX_TXOWN(sc->mx_cdata.mx_tx_head) == MX_UNSENT) {			MX_TXOWN(sc->mx_cdata.mx_tx_head) = MX_TXSTAT_OWN;			ifp->if_timer = 5;			CSR_WRITE_4(sc, MX_TXSTART, 0xFFFFFFFF);		}	}	return;}