mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 01:03:42 +00:00
Remove unneeded TX channel wakeup from vge_txeof(). This was put
there for testing and forgotten. It's not really needed, and taking it out saves a register access.
This commit is contained in:
parent
3a27af0dd4
commit
9d77459ca7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135091
|
@ -1547,7 +1547,6 @@ vge_txeof(sc)
|
|||
* This is done in case the transmitter has gone idle.
|
||||
*/
|
||||
if (sc->vge_ldata.vge_tx_free != VGE_TX_DESC_CNT) {
|
||||
CSR_WRITE_2(sc, VGE_TXQCSRS, VGE_TXQCSR_WAK0);
|
||||
CSR_WRITE_1(sc, VGE_CRS1, VGE_CR1_TIMER0_ENABLE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue