Calculate the right register offset when clearing TX buffer pointer

registers in rl_stop().

PR:		kern/60250
This commit is contained in:
Bill Paul 2004-01-21 22:29:51 +00:00
parent 772670ea02
commit 9afca9391c

View File

@ -1891,7 +1891,8 @@ rl_stop(sc)
sc->rl_cdata.rl_tx_dmamap[i]);
m_freem(sc->rl_cdata.rl_tx_chain[i]);
sc->rl_cdata.rl_tx_chain[i] = NULL;
CSR_WRITE_4(sc, RL_TXADDR0 + i, 0x0000000);
CSR_WRITE_4(sc, RL_TXADDR0 + (i * sizeof(u_int32_t)),
0x0000000);
}
}