summaryrefslogtreecommitdiffstats
path: root/sys/dev/vge
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2004-09-11 22:13:25 +0000
committerwpaul <wpaul@FreeBSD.org>2004-09-11 22:13:25 +0000
commite47c14f60e80e0e8940d58b7cee2bb2ab63a426e (patch)
tree48894acb0cf54462c89cf603c0ee7dacc7633b25 /sys/dev/vge
parentb1981485f76169c84d5d3e162d766c201f05fd08 (diff)
downloadFreeBSD-src-e47c14f60e80e0e8940d58b7cee2bb2ab63a426e.zip
FreeBSD-src-e47c14f60e80e0e8940d58b7cee2bb2ab63a426e.tar.gz
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.
Diffstat (limited to 'sys/dev/vge')
-rw-r--r--sys/dev/vge/if_vge.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/vge/if_vge.c b/sys/dev/vge/if_vge.c
index a91463c..14c5efc 100644
--- a/sys/dev/vge/if_vge.c
+++ b/sys/dev/vge/if_vge.c
@@ -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);
}
OpenPOWER on IntegriCloud