summaryrefslogtreecommitdiff
path: root/sys/dev/ic/dc.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-08-26 12:53:58 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-08-26 12:53:58 +0000
commitabcd2324e48979953874185d61b7361922dee8d9 (patch)
treeae773b7eee029aa8cfcc2a853e33b5a864382830 /sys/dev/ic/dc.c
parentde5083848846833548e98e3e2b01a0d6d52caf83 (diff)
Revert a minor FreeBSD tweak that tends to freeze my machine solid after
large amounts of data transfer (ASIX 88141 card).
Diffstat (limited to 'sys/dev/ic/dc.c')
-rw-r--r--sys/dev/ic/dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c
index 8a4ad38d8d6..206eb8fe8bf 100644
--- a/sys/dev/ic/dc.c
+++ b/sys/dev/ic/dc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dc.c,v 1.9 2000/08/08 16:43:50 aaron Exp $ */
+/* $OpenBSD: dc.c,v 1.10 2000/08/26 12:53:57 aaron Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1922,7 +1922,7 @@ void dc_tick(xsc)
} else {
r = CSR_READ_4(sc, DC_ISR);
if ((r & DC_ISR_RX_STATE) == DC_RXSTATE_WAIT &&
- sc->dc_cdata.dc_tx_cnt == 0)
+ sc->dc_cdata.dc_tx_prod == 0)
mii_tick(mii);
if (!(mii->mii_media_status & IFM_ACTIVE))
sc->dc_link = 0;