View | Details | Raw Unified | Return to bug 186401
Collapse All | Expand All

(-)sys/dev/re/if_re.c (-2 / +1 lines)
Lines 3595-3602 re_stop(struct rl_softc *sc) Link Here
3595
			    "stopping TX poll timed out!\n");
3595
			    "stopping TX poll timed out!\n");
3596
		CSR_WRITE_1(sc, RL_COMMAND, 0x00);
3596
		CSR_WRITE_1(sc, RL_COMMAND, 0x00);
3597
	} else if ((sc->rl_flags & RL_FLAG_CMDSTOP) != 0) {
3597
	} else if ((sc->rl_flags & RL_FLAG_CMDSTOP) != 0) {
3598
		CSR_WRITE_1(sc, RL_COMMAND, RL_CMD_STOPREQ | RL_CMD_TX_ENB |
3598
		CSR_WRITE_1(sc, RL_COMMAND, RL_CMD_STOPREQ);
3599
		    RL_CMD_RX_ENB);
3600
		if ((sc->rl_flags & RL_FLAG_CMDSTOP_WAIT_TXQ) != 0) {
3599
		if ((sc->rl_flags & RL_FLAG_CMDSTOP_WAIT_TXQ) != 0) {
3601
			for (i = RL_TIMEOUT; i > 0; i--) {
3600
			for (i = RL_TIMEOUT; i > 0; i--) {
3602
				if ((CSR_READ_4(sc, RL_TXCFG) &
3601
				if ((CSR_READ_4(sc, RL_TXCFG) &

Return to bug 186401