diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-08-26 05:31:53 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-08-26 05:31:53 +0000 |
commit | 8a53007bfd94ea9948a27f4f1a1bf2cb6021306f (patch) | |
tree | 1a543d0a5ae9269697505201ffc48204aa76c587 | |
parent | 770a5a6eaec575998d97a2255f606b3f2a0048d9 (diff) | |
download | FreeBSD-src-8a53007bfd94ea9948a27f4f1a1bf2cb6021306f.zip FreeBSD-src-8a53007bfd94ea9948a27f4f1a1bf2cb6021306f.tar.gz |
Properly re-enable the transmitter in the TX error handler.
-rw-r--r-- | sys/pci/if_ste.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index 112dbf4..6b5bfd4 100644 --- a/sys/pci/if_ste.c +++ b/sys/pci/if_ste.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_ste.c,v 1.6 1999/08/20 15:20:08 wpaul Exp $ + * $Id: if_ste.c,v 1.1 1999/08/21 18:34:44 wpaul Exp $ */ @@ -82,7 +82,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_ste.c,v 1.6 1999/08/20 15:20:08 wpaul Exp $"; + "$Id: if_ste.c,v 1.1 1999/08/21 18:34:44 wpaul Exp $"; #endif /* @@ -824,9 +824,7 @@ static void ste_txeoc(sc) CSR_WRITE_2(sc, STE_TX_RECLAIM_THRESH, (STE_PACKET_SIZE >> 4)); } - STE_SETBIT2(sc, STE_MACCTL1, STE_MACCTL1_TX_ENABLE); - if (CSR_READ_4(sc, STE_TX_DMALIST_PTR)) - CSR_WRITE_4(sc, STE_DMACTL, STE_DMACTL_TXDMA_UNSTALL); + ste_init(sc); CSR_WRITE_2(sc, STE_TX_STATUS, txstat); } |