From 8a53007bfd94ea9948a27f4f1a1bf2cb6021306f Mon Sep 17 00:00:00 2001 From: wpaul Date: Thu, 26 Aug 1999 05:31:53 +0000 Subject: Properly re-enable the transmitter in the TX error handler. --- sys/pci/if_ste.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sys/pci') 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); } -- cgit v1.1